cwlib

0.3.31 • Public • Published

Cloudwalker Enterprises Library

Usage:

const {
    utils,                       // miscellaneous utilities
    showTable,                   // format and display table info on the command line
    sqlBuilder,                  // SQL query builders
    workbook: Workbook           // output to Excel
} = require( 'cwlib' );


//// SQL query builders

const {
    Table: SqlTable,
    Select: SqlSelect,
    Insert: SqlInsert,
    Update: SqlUpdate
} = sqlBuilder;


// vendor specific
const MssqlTable = sqlBuilder.vendor.mssql.Table;

Run unit tests:

Make a copy of test/sample-config.json and name file config.json which goes in the same directory (test/). Fill in with the necessary credentials.

Do an npm install and run the following from the repo root directory:

shell> ./node_modules/.bin/mocha --recursive --timeout 60000 --reporter spec

Readme

Keywords

none

Package Sidebar

Install

npm i cwlib

Weekly Downloads

66

Version

0.3.31

License

ISC

Unpacked Size

410 kB

Total Files

98

Last publish

Collaborators

  • cloudwalkerenterprises