A set of JavaScript utils for Q Blockchain frontend projects.
To install the library, run the following command:
yarn add @q-dev/utils
or
npm install @q-dev/utils
import { dateToUnix } from '@q-dev/utils'
dateToUnix(new Date())
-
arrays
- array utils (fill array) -
date
- date utils (converters, formatters, etc.) -
numbers
- number utils (converters, formatters, interest rate, etc.) -
strings
- string utils (trim string, case converters, etc.)
We welcome contributions to the library. If you would like to submit a pull request, please make sure to follow our code style.
This project and everyone participating in it is governed by the Q JS Utils Code of Conduct. By participating, you are expected to uphold this code.