Socket
Socket
Sign inDemoInstall

cla6

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cla6 - npm Package Compare versions

Comparing version 1.1.0 to 1.1.5

bower.json

8

package.json
{
"name": "cla6",
"version": "1.1.0",
"version": "1.1.5",
"main": "lib/cla6.js",

@@ -18,3 +18,7 @@ "repository": {

"node": "~0.10.0"
}
},
"keywords": [
"class",
"es6"
]
}
# Cla6.js
ES6 style class system
ES6 style class system.
Although originally designed for
use with [Node.js](http://nodejs.org) and installable via `npm install cla6`,
it can also be used directly in the browser.
Cla6 is also installable via:
- [bower](http://bower.io/): `bower install cla6`
## Example
```js

@@ -44,3 +53,4 @@ var Cla6 = require('cla6');

Unlike classic class definition, Cla6 defines unenumerable prototype properties
Unlike classic class definition, Cla6 defines unenumerable prototype properties:
```js

@@ -86,2 +96,11 @@ // Classic class definition

## Plugins
Plugins can be applied by Cla6 using the following syntax:
```js
Cla6.use(plugin);
```
The plugin will be called with the classe's properties object anytime before it gets created, thus the properties can be manipulated. No official plugins are yet available, please stay tuned.
## Download

@@ -88,0 +107,0 @@ The source is available for download from

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc