feature-detect-weakmap

js
Feature detect WeakMap at installation time
Version 1.0.0 License MIT
Keywords
feature-detectweakmap
Feature detect: WeakMap
This library detects at installation time whether your current environment supports WeakMap.
Usage
npm install --save feature-detect-weakmap
If WeakMap is supported, nothing happens, but if not the preinstall script will print an error and exit with a non-zero value. This package exports nothing, and is useless as a runtime dependency.
License: MIT