Skip to content

bentoboxes/nova-utils

Repository files navigation

Nova Utils

This set of utilities are intended to

Status:

Install

$ npm install --save @bentoboxes/nova-utils

Usage

const { DateUtils } = require("@bentoboxes/nova-utils");

const dateString = "2019-12-30T12:34:18";
const inputFormat = "YYYY-MM-DDTHH:mm:ss";
const outputFormat = "MM/YYYY";

DateUtils.format(dateString, inputFormat, outputFormat);

File Structure

.
├── CHANGELOG.md
├── CODE-OF-CONDUCT.md
├── LICENSE.md
├── README.md
├── babel.config.js                         Used by Jest for allowing the "import" instructions in *.spec.js files
├── dist
│   ├── nova-utils.bundle.browser.js
│   ├── nova-utils.bundle.esm.js
│   └── nova-utils.bundle.umd.js
├── index.html
├── jest.config.js
├── package-lock.json
├── package.json
├── rollup.config.js
├── src
│   ├── __tests__
│   ├── index.js
│   └── utils
└── yarn.lock

License

The MIT License

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published