This is a library of server/client agnostic javascript functions. This is built because I wanted consistency across applications. Gone are the days where I will have to look up that phone regex expression or a mm/dd/yyyy date formatter.
- This library will never have npm dependencies like react because it would create a dependency for non react applications such as web server.
- All functions are written and exported in typescript.
- This library is meant for my personal projects. If you decide to use this, you will be at the mercy to how I change these for my projects. I suggest to fork this project and make your own. It will look great on your resume :)
- I will follow sematic versioning
npm install jules-js
npm run build
: removes old build folder, runs typescript builder, then copies certain files required in the npm package like README and package.jsonnpm run pub
: runsnpm run build
, cd's into the build folder, runsnpm publish
, cd's out of the build folder.
- Commits need to be prefaced with the upcoming version number example:
v0.0.x | adds formatDate function
TODO(Jules): improve this with github actions to publish anything merged into master branch
- commit changes with the preface standard from
## Commits
section - run
npm run pub
- git add -A
- git commit -m 'v0.0.x`
- git push origin branch-name