https://github.com/dweinstein/node-posix-constants
some helpful posix constants for node
https://github.com/dweinstein/node-posix-constants
Last synced: about 2 months ago
JSON representation
some helpful posix constants for node
- Host: GitHub
- URL: https://github.com/dweinstein/node-posix-constants
- Owner: dweinstein
- License: mit
- Created: 2015-05-30T21:15:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-30T21:30:40.000Z (almost 10 years ago)
- Last Synced: 2025-02-23T22:34:47.119Z (2 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SYNOPSIS
Some posix constants I've found useful to have in javascript. Currently
constants from `` and a few from `` (file modes) are
present.# USAGE
```javascript
var posixConst = require('posix-constants');
var errno = posixConst.errno;
var EPERM = errno.EPERM;function no_perm() {
return -EPERM;
}process.exit(no_perm());
```