privsym
v1.0.0
Published
create private symbols
Downloads
5
Readme
privsym
Create private, unenumerable symbols in Node.js
Usage
const PrivateSymbol = require('privsym');
const mySym = PrivateSymbol('mySym');
const obj = {
[mySym]: 'foo'
};
// etc.
License
The MIT License. See LICENSE.txt