npm

Need private packages and team management tools?Check out npm Orgs. »

class-access

0.0.5 • Public • Published

class-access

Declarative access specifiers for ES6 classes.

Build Status Coverage Status

Implements a simple approach to protected and private members in your ES6 classes, through declaration, i.e. without modifying the class.

Installing

$ npm install class-access

Loading

  • Node.js
var AccessSpecifier = require('class-access');
  • Browser
<script src="./class-access"></script>
 
<script>
    // class AccessSpecifier is available here
</script> 

Usage

See the wiki pages for usage examples and documentation.

install

npm i class-access

Downloadsweekly downloads

5

version

0.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability