ultisuite-backend/services/hocuspocus/node_modules/.pnpm/fs-constants@1.0.0/node_modules/fs-constants
R3D347HR4Y 3b387e7e4a
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
hocuspocus lol
2026-06-09 14:29:58 +02:00
..
browser.js hocuspocus lol 2026-06-09 14:29:58 +02:00
index.js hocuspocus lol 2026-06-09 14:29:58 +02:00
LICENSE hocuspocus lol 2026-06-09 14:29:58 +02:00
package.json hocuspocus lol 2026-06-09 14:29:58 +02:00
README.md hocuspocus lol 2026-06-09 14:29:58 +02:00

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