@syndicateroom/utility
v0.0.23
Published
## Install log in via ``` npm login ``` After logging in run ``` npm install @syndicateroom/utility ``` or ``` yarn add @syndicateroom/utility ```
Downloads
176
Readme
Utility
Install
log in via
npm login
After logging in run
npm install @syndicateroom/utility
or
yarn add @syndicateroom/utility
Usage
We're using bili
which is built upon Rollup
to build both ESM and CommonJs modules so you can use both import
and require
syntax
By default anything that is supported by both frontend and backend is available from the package directly:
import { ucFirst } from '@syndicateroom/utility'
However with things that are backend or frontend only you will have to use slightly different syntax to get it
import { logger } from '@syndicateroom/utility/dist/backend'
although this may change as it's quite verbose.