JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q31945F
  • License MIT

Get system information about your JavaScript runtime engine

Package Exports

  • js-info

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 (js-info) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

js-info

GitHub stars

Get system information about your JavaScript runtime engine

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Completely cross platform
  • Get runtime (node, browser)
  • Determine if mobile device
  • Get os (darwin, win32, linux, freebsd, openbsd, kindle)
  • Get JavaScript engine (gecko, webkit, v8, jsc)
  • Get environment (development, testing, staging, production)
  • Get browser (chrome, firefox, opera, safari, edge, ie)
  • Built in memoization

Installation

npm install --save js-info

Dependencies

Usage

import { getInfo } from 'js-info';

console.log(getInfo());

Support

Submit an issue

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons