GTD-LIB-TS

Clean code support library for typescript.

GPL-3.0 License

Stars
3

GTD Library - Getting things done.

Easy code :)

This is a typescript library with code snipets that let you develop software faster. Getting things done is our philosophy. Allowing developers to keep code clean and mantainable.

⚠️ Warning, this project is currently moved!!⚠️

We moved all the functionalities of GTD library to GTD Framework,
I you really want to use this libraries for your projects ypu can:

- Download the latest version of GTD Framework and get the library.
- Download the latest version of GTD Framework and use it for your project.

Supported languages

  • Typescript - This is the main language we develop in.
  • Javascript - compile the typescript to get this.

How to use

Just import the library files.

Typescript >> GTD-v1.0.zip

Modular, Simple.

Keep it simple. We serve you the global versions of GTD with all modules inside. But, you can bundle only the modules you need.

Typescript / Javascript steps

  1. Go to app.ts
  2. Add / Remove modules from MODULE_DEPENDENCIES
import * as myComponent from './my/url';


const MODULE_DEPENDENCIES = { 
    myComponent : myComponent,
}

Typescript / Javascript modules

  • Color | Color management
  • Http | Http request handle
  • EasyFetch | Easy async http calls based on fetchAPI
  • Datetools | Date management tools
  • Numeric | Numeric operations
  • URLtools | URL handle tools
  • Materialcolors | Material colors
  • Materialicons | Material icons
  • Timetools | Runtime time / asyncronous handle
  • Rexep | Regular expressions
  • Responsivetools | Web / display responsive tools
  • UIcomponent | Web UI component creation

Compile Typescript

Run the following command. This will clone the current project state.

git clone https://github.com/akrck02/GTD-LIB-TS/ --branch latest

Install nodejs and npm from here

https://nodejs.org/en/download/

Then install dependencies YOU MUST HAVE NODE & NPM INSTALLED

cd ./GTD-LIB-TS && npm install

Then use the typescript compiler

npm run compile

¡You have the typescript code compiled! Let's bundle it running:

npm run dist

GOOD TO GO! ENJOY DEVELOPING!