Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amilajack/os-type
Node bindings to the os_type Rust library
https://github.com/amilajack/os-type
native-module neon node rust
Last synced: 2 months ago
JSON representation
Node bindings to the os_type Rust library
- Host: GitHub
- URL: https://github.com/amilajack/os-type
- Owner: amilajack
- License: mit
- Created: 2018-10-22T05:01:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T13:01:48.000Z (almost 3 years ago)
- Last Synced: 2024-10-08T09:58:46.514Z (3 months ago)
- Topics: native-module, neon, node, rust
- Language: Rust
- Homepage:
- Size: 74.2 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# os-type
[![Build Status](https://travis-ci.com/amilajack/os-type.svg?branch=master)](https://travis-ci.com/amilajack/os-type)
Bindings to the [os_type](https://github.com/schultyy/os_type) Rust library using [Neon](https://github.com/neon-bindings/neon)
## Installation
```bash
npm install os-type
```## Usage
```js
import osType from 'os-type';console.log(osType.currentPlatform());
// Object {
// "osType": "unknown",
// "version": "0.0.0",
// }
```