1.0.0 • Published 2 years ago
@icfm/trust v1.0.0
node_trust
Warning
With appearance of prisma ORM, this module will no longer be maintained.
Documentation
Commonly used NodeJS basic functionalities. Warning : this library tends to favor PostgreSQL. Especially the DataCommunicator
and Model
class.
Dependencies
fs-extra, lodash, mysql, pg, pg-format
Installation
npm i @icfm/trust
Documentation
Below are some documentations which are ready.
- PostgreDB (class) Wrapper for pg module. A simplified API for postgreSQL database operations.
- MySQLDB (class) Wrapper for mysql module. A simplified API for MySQL database operations.
- TableComposer (class) DDL SQL Builder. No Dependencies. Support PostgreSQL and MySQL syntaxes.
- Model (abstract class) Model for simple ORM.
- DataCommunicator (generic class) Simple class for transfering Model to and from database.
- Files (static class) Wrapper for fs-extra and path module.
- Basics (static class) Right now only have static function getDiff to get difference between two objects
- Crypter (object) Wrapper for NodeJS crypto module.
- JSONResponse (object) Just a simple JSON Object generator, designed to be used as JSON response of POST request.
Other docs are still on the way. Please be patient.
1.0.0
2 years ago
0.9.5
3 years ago
0.9.4
3 years ago
0.9.3
3 years ago
0.9.2
3 years ago
0.9.1
4 years ago
0.9.0
4 years ago
0.8.0
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.3
4 years ago
0.6.2
4 years ago
0.6.1
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago