Miss any of our Open RFC calls?Watch the recordings here! »

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

3

Version

0.0.5

License

MIT

Last publish

Collaborators

  • avatar