0.3.0 • Published 6 years ago
tinkercode v0.3.0
tinkercode -- my wrapper functions and classes for javascript
The tinkercode package contains my wrapper functions and classes.
There is no particular purpose nor structure within this package. New wrapper functions and classes are just added to main package folder.
I advise against using any of this code in production.
Just don't.
Feel free to copy code and adjust it to your own needs.
Unit Tests
The chai
package is used for unit tests
An Example can be found in the following files
- module
src/howtotest.js
, and - script
test/howtotest.js
In order to to run all tests type this command
npm install --save-dev mocha chai
npm test
Publish
- Commit all changes to github (e.g. new files, change version in
package.json
, etc.) - Push to github
git push
- Publish to NPM
npm publish