
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
platform-tool
Advanced tools
Provides various platform-specific information to application, helping cross-system portability
#Introduction
Node-platform is a little library providing platform-specific information to your application. Different platforms have different environments and this library aims to provide cohesive interface to common resources, such as data or temporary directories, without need to track platform-specific system requirements.
#Quick start
npm install node-platform
Then
var platform = require('platform-tools');
#API
platform.homeDir() returns current users home directory.platform.tmpDir() returns system temporary directory. This is convenience alias to os.tmpdir()platform.appDir(name) returns directory that can be used as data directory for application.#Convinience aliases
All provided methods have convenience lowercase aliases.
FAQs
Provides various platform-specific information to application, helping cross-system portability
We found that platform-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.