JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q53343F
  • License MIT

Common utils and helpers used on node projects

Package Exports

  • @acelords/js-utils
  • @acelords/js-utils/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@acelords/js-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AceLords Node Utils

Common utils for your node/js projects

Installation

Install via npm

npm i @acelords/js-utils

pnpm i @acelords/js-utils

Docs

Available functions. View the entire list here

  • formatDateTime()
  • getTimeFromDate()
  • randomNumber()
  • isNumeric()
  • fromNow()
  • ucwords()
  • substring()
  • numberFormat()
  • formatNumber()
  • formatCurrency()
  • slugify()
  • stripTags()
  • plural()
  • singular()
  • pluralize()
  • insertIntoArray()

Dev Notes

Testing

npm t

Publish to NPM

Before publishing, remember to INCREMENT Versioning and also BUILD it

npm run build && npm publish --access public