cached-constructors-x

Constructors cached from literals.

Usage no npm install needed!

<script type="module">
  import cachedConstructorsX from 'https://cdn.skypack.dev/cached-constructors-x';
</script>

README

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

cached-constructors-x

Constructors cached from literals.

module.exports : Object

Constructors cached from literals.

Kind: Exported member
Example

import * as constructors from 'cached-constructors-x';

console.log(constructors);
// {
//   ArrayCtr: [Function: Array],
//   BooleanCtr: [Function: Boolean],
//   FunctionCtr: [Function: Function],
//   NumberCtr: [Function: Number],
//   ObjectCtr: [Function: Object],
//   RegExpCtr: [Function: RegExp],
//   StringCtr: [Function: String],
// }