Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

which-os

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

which-os - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

dist/cjs/cli.d.ts

41

package.json
{
"author": "Florian Imdahl <git@ffflorian.de>",
"bin": {
"which-os": "cli.js"
"which-os": "dist/cjs/cli.js"
},

@@ -15,14 +15,12 @@ "dependencies": {

"engines": {
"node": ">= 10.9"
"node": ">= 14.16"
},
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"cli.d.ts",
"cli.js",
"cli.js.map",
"index.d.ts",
"index.js",
"index.js.map",
"which-os.d.ts",
"which-os.js",
"which-os.js.map"
"dist"
],

@@ -36,18 +34,19 @@ "keywords": [

"license": "GPL-3.0",
"main": "index.js",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"name": "which-os",
"publishConfig": {
"directory": "flattened"
},
"repository": "https://github.com/ffflorian/node-packages/tree/main/packages/which-os",
"scripts": {
"build": "tsc",
"build": "yarn build:cjs && yarn build:mjs && yarn generate:packagejson",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:mjs": "tsc -p tsconfig.json",
"clean": "rimraf dist",
"dist": "yarn clean && yarn build",
"flatten": "node ../publish-flat/dist/cli.js -o flattened",
"postversion": "node ../publish-flat/dist/cli-copy.js -o flattened/package.json version",
"start": "ts-node src/cli.ts",
"test": "ts-node -P tsconfig.jasmine.json ../../node_modules/jasmine/bin/jasmine.js"
"generate:packagejson": "../../bin/generate-hybrid-package-json.sh",
"start": "ts-node-esm src/cli.ts",
"test": "ts-node-esm -P tsconfig.jasmine.json ../../node_modules/.bin/jasmine"
},
"version": "1.6.0"
"type": "module",
"version": "1.6.1",
"gitHead": "fee6dde4396255259028c1c723a95b9f6ec5b281"
}
# which-os [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![npm version](https://img.shields.io/npm/v/which-os.svg?style=flat)](https://www.npmjs.com/package/which-os)
Get informations about your OS
Get informations about your OS.
## Prerequisites
- [Node.js](https://nodejs.org) >= 14
- npm (preinstalled) or [yarn](https://classic.yarnpkg.com) < 2
## Installation
ℹ️ This is a hybrid [CommonJS](https://nodejs.org/docs/latest/api/modules.html#modules-commonjs-modules) / [ESM](https://nodejs.org/api/esm.html#introduction) module.
Run `yarn add which-os` or `npm i which-os`.
Or simply run `npx which-os`.
## Usage
Just run `npx which-os`.
```

@@ -10,0 +21,0 @@ Usage: which-os [options]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc