Skip to content

jcguarinpenaranda/is-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-platform-node

This is a very simple script to detect if the current platform is node

Using

var isNode = require('is-platform-node');

if(isNode()){
  //do something
}
// then it's the browser, or other platform

Testing

  1. Run $ npm install
  2. Run $ npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published