Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

fs-constants

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

fs-constants

Require constants across node and the browser

    1.0.0latest

Version published
Maintainers
1
Weekly downloads
11,915,764
decreased by-5.34%

Weekly downloads

Readme

Source

fs-constants

Small module that allows you to get the fs constants across Node and the browser.

npm install fs-constants

Previously you would use require('constants') for this in node but that has been deprecated and changed to require('fs').constants which does not browserify.

This module uses require('constants') in the browser and require('fs').constants in node to work around this

Usage

var constants = require('fs-constants') console.log('constants:', constants)

License

MIT

FAQs

What is fs-constants?

Require constants across node and the browser

Is fs-constants popular?

The npm package fs-constants receives a total of 11,178,049 weekly downloads. As such, fs-constants popularity was classified as popular.

Is fs-constants well maintained?

We found that fs-constants 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.

Last updated on 26 Apr 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc