translation missing: en.flash.saving
translation missing: en.flash.error
  • Bibliography Data
  • Metadata
resource
  • git
    https://github.com/mafintosh/fs-constants.git Source Repository
    QmevbY7dwQ9QuneLfdMytZ6iwHhWpH8pRsydPczYm8q6LD
    3636fd76cf948ebfc143c1913af6d3c4450b1c46
      QmevbY7dwQ9QuneLfdMytZ6iwHhWpH8pRsydPczYm8q6LD
      3636fd76cf948ebfc143c1913af6d3c4450b1c46

      • Details
      • Files
      • History
        • Source

          https://github.com/mafintosh/fs-constants.git

          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

          Related

          • maintainer

            npm

          Share

          • URL

            Copy
          • Embed Link

            Copy
          • QR Code

        • JavaScript must be enabled.

          There was an error retrieving this content.

          The content could not be found.

        • JavaScript must be enabled.

          There was an error retrieving this content.

          The content could not be found.

        Confirm
        Do you wish to proceed?

        Confirm message?