@mezzy/detector-node-js
TypeScript icon, indicating that this package has built-in type declarations

0.1.180 • Public • Published

detector-node-js

Use to determine context and capabilities of run-time environment for Node.js apps. This library will generate console errors if run in a browser outside of a Node.js environment.

Install

sudo npm install --save @mezzy/detector

Usage

import DetectorNodeJs from @mezzy/detector-node-js

let isModuleInstalled:boolean = DetectorNodeJs.isNodeModuleInstalled('@mezzy/strings');

Package Sidebar

Install

npm i @mezzy/detector-node-js

Weekly Downloads

1

Version

0.1.180

License

ISC

Unpacked Size

4.67 kB

Total Files

8

Last publish

Collaborators

  • mezzy