just-performance-es6-compat
TypeScript icon, indicating that this package has built-in type declarations

4.3.2 • Public • Published

just-performance-es6-compat

Isomorphic ponyfill wrapping browser performance and node.js perf_hooks performance.

Usage

Browser

import { performance } from "just-performance-es6-compat";

node.js

import { performance } from "just-performance-es6-compat";

License

MIT license

Note

This repository is a fork, and the fork was needed because the original author seems to have abandoned the original project. This repository was created because ES6 imports don't work, and the Pull Request jhurliman/just-performance#4 is pending and doesn't look like it will be merged.

Readme

Keywords

none

Package Sidebar

Install

npm i just-performance-es6-compat

Weekly Downloads

18,315

Version

4.3.2

License

MIT

Unpacked Size

166 kB

Total Files

21

Last publish

Collaborators

  • sudiptosarkar