Package Exports
- get-non-builtin-props
- get-non-builtin-props/dist/get-non-builtin-props.esm.js
- get-non-builtin-props/dist/get-non-builtin-props.umd.js
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 (get-non-builtin-props) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
get-non-builtin-props
Get non-builtin properties on the window object
Live demo available at here.
Installation
$ npm install get-non-builtin-propsUsage
import getNonBuiltinProps from 'get-non-builtin-props';
const nonBuiltinProps = getNonBuiltinProps();
const nonBuiltinPropKeys = Object.keys(nonBuiltinProps);
console.log('non-builtin properties', nonBuiltinProps);
console.log('non-builtin property keys', nonBuiltinPropKeys);
// ["React", "ReactDOM", "$", "jQuery", "_"]import('https://cdn.jsdelivr.net/npm/get-non-builtin-props@2.0.0/dist/get-non-builtin-props.esm.js')
.then(({default: getNonBuiltinProps}) => {
console.log(getNonBuiltinProps());
})
.catch((err) => {
console.log(err);
});License
MIT