ta-platform-utils
Platform utils for node.js and the browser.
Install
npm i ta-platform-utils
Usage
Here's the gist, take a look at the codebase for more. First import it:
Regex
See /regex
for more.
const password = 'kfK52k*s0h$42xC0'const validPassword = regexpassword//=> true
Enums
See /enums
for more.
const stateOptions = utilsenumsstates //=> [{ text: 'California', value: 'CA' }, ...{}]
Contribute
- Clone this repo
- Create a branch
- Make changes to
/src
- Run a build
npm run build
, to make sure your changes check out. - Open a PR
Releasing
On the latest clean master
:
npm run release:major
npm run release:minor
npm run release:patch