voluptate-alias-voluptate

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

MIT License

Downloads
247
Stars
0
Committers
1

@erboladaiorg/voluptate-alias-voluptate Version Badge

Does the current environment have import() support?

At the time of this writing, node v12.17+, v13.2+ and v14.0+ has support for dynamic import(); the syntax is supported in node v10+.

The former can be checked in the package‘s main export, which is an async function that returns a boolean indicating if the current environment fully supports dynamic import. Note that in node v12.17 - v12.19 and v13.4 - v13.13, an ExperimentalWarning will be logged.

The latter can be checked with '@erboladaiorg/voluptate-alias-voluptate/syntax', which is a function that returns a boolean indicating if the current environment supports parsing the syntax of dynamic import.

Tests

Simply clone the repo, npm install, and run npm test

Package Rankings
Top 34.49% on Npmjs.org
Badges
Extracted from project README
Version Badge github actions coverage dependency status dev dependency status License Downloads npm badge
Related Projects