Package Exports
- @aureooms/js-attr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aureooms/js-attr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
js-attr
Attribute code bricks for JavaScript.
Installation
Can be managed through duo, component, bower, or npm.
let attr = require( "@aureooms/js-attr" ) ;Usage
( "abcd" )[attr.len] ; // 4
( new Array( 17 ) )[attr.len] ; // 17
Object.keys( { a : 0 , b : 0 , c : 0 } )[attr.len] ; // 3
( function ( a , b ) { return a + b ; } )[attr.len] ; // 2