Getting Started
Installation
For using the pnpm package manager.
pnpm install @ponsetya/node
Usage
By default you can include all api and functions.
import node from '@ponsetya/node'
node.env.node // true
node.env.browser // false
If you want to use it as a module, you need to import the module.
import { env } '@ponsetya/node'
env.node // true
env.browser // false
License
Released under the MIT License (opens in a new tab).