Launch Week Day 1:Rust Support in Socket Is Now Generally Available.Learn More
Socket
Book a DemoInstallSign in
Socket

node-platforms

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-platforms

List of platforms supported by Node.js

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

node-platforms Build Status

List of platforms supported by Node.js

Install

$ npm install --save node-platforms

Usage

const nodePlatforms = require('node-platforms');

console.log(nodePlatforms());
//=> Set {'darwin', 'freebsd'}

API

nodePlatforms()

Returns a Set with platforms.

  • archs - List of processor architectures supported by Node.js

License

MIT © Sindre Sorhus

Keywords

node

FAQs

Package last updated on 18 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts