Package Exports
- @real-system/utils-library
- @real-system/utils-library/lib/index.esm.js
- @real-system/utils-library/lib/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 (@real-system/utils-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@real-system/utils-library
Real System's series of javascript and typescript helpers.
Installation
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install utils
# npm
$ npm install @real-system/utils-library
# yarn
$ yarn add @real-system/utils-libraryCode Example
import { kebabCase } from '@real-system/utils-library';
const formatString = (name: Names) =>
kebabCase(name);
formatString('JimSlim') // output: 'jim-slim'