JSPM

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

Operating System Profile for LB Mesh

Package Exports

  • lbmesh-os

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

Readme

LB Mesh OS

This package will provide basic operating system profile which can be used for many different purposes.

Installation

npm install lbmesh-os --save

Usage

const server = require('lbmesh-os').profile()
console.log (server);

/** Output from Console.Log running on Mac OS **/

{ cwd: '/Users/username/ostest',
    hostname: 'MacBook.local',
  release: '18.2.0',
  platform: 'darwin',
  homedir: '/Users/username',
  arch: 'x64',
  type: 'Darwin' 
}

Works cross-platform.

License

Copyright © Jamil Spain. Release under the MIT License.