|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
.editorconfig | %!s(int64=5) %!d(string=hai) anos | |
.npmignore | %!s(int64=5) %!d(string=hai) anos | |
AUTHORS | %!s(int64=5) %!d(string=hai) anos | |
History.md | %!s(int64=5) %!d(string=hai) anos | |
LICENSE | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
index.js | %!s(int64=5) %!d(string=hai) anos | |
package.json | %!s(int64=5) %!d(string=hai) anos |
Detect es6 and es7 features enable or not.
$ npm install enable --save
var enable = require('enable');
if (enable.<feature>) {
console.log(<feature> is supported);
}
/* Example:
if (enable.generator) {
console.log('supports generator: `function* a() {}`');
}
*/
Object related:
String realted:
Number realted:
Math realted:
Others:
$ npm install
$ npm test
$ npm test-cov