https://github.com/akrck02/gtd-lib
Clean code support library for typescript.
https://github.com/akrck02/gtd-lib
javascript library toolkit typescript
Last synced: 10 months ago
JSON representation
Clean code support library for typescript.
- Host: GitHub
- URL: https://github.com/akrck02/gtd-lib
- Owner: akrck02
- License: mit
- Archived: true
- Created: 2021-01-18T12:19:53.000Z (over 5 years ago)
- Default Branch: latest
- Last Pushed: 2025-01-02T17:52:39.000Z (over 1 year ago)
- Last Synced: 2025-08-16T06:54:40.052Z (11 months ago)
- Topics: javascript, library, toolkit, typescript
- Language: TypeScript
- Homepage:
- Size: 2.74 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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**
```typescript
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.
```bash
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**
```bash
cd ./GTD-LIB-TS && npm install
```
Then use the typescript compiler
```bash
npm run compile
```
¡You have the typescript code compiled! Let's bundle it running:
```bash
npm run dist
```
**GOOD TO GO! ENJOY DEVELOPING!**