An open API service indexing awesome lists of open source software.

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

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());
```