Socket
Socket
Sign inDemoInstall

node-df

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.4

__tests__/index.spec.js

72

package.json
{
"name": "node-df",
"version": "0.1.1",
"description": "A cross-platform Node.js wrapper around the standard Unix computer program, df.",
"main": "lib/df.js",
"scripts": {
"test": "mocha -R spec test/"
},
"author": "Adriano Di Giovanni <me@adrianodigiovanni.com> (http://adrianodigiovanni.com/)",
"license": "MIT",
"dependencies": {
"underscore": "^1.6.0"
},
"directories": {
"test": "test"
},
"devDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/adriano-di-giovanni/node-df.git"
},
"keywords": [
"node",
"df",
"diskfree"
],
"bugs": {
"url": "https://github.com/adriano-di-giovanni/node-df/issues"
},
"homepage": "https://github.com/adriano-di-giovanni/node-df"
"name": "node-df",
"version": "0.1.4",
"description":
"A cross-platform Node.js wrapper around the standard Unix computer program, df.",
"main": "lib/index.js",
"scripts": {
"precommit": "lint-staged",
"test:coverage": "npm test -- --coverage",
"test": "jest"
},
"author": "Adriano Di Giovanni <me@adrianodigiovanni.com> (http://adrianodigiovanni.com/)",
"license": "MIT",
"dependencies": {
"underscore": "^1.6.0"
},
"devDependencies": {
"async": "^2.6.0",
"eslint": "^4.17.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"jest": "^22.1.4",
"lint-staged": "^6.1.0",
"prettier": "^1.10.2"
},
"repository": {
"type": "git",
"url": "https://github.com/adriano-di-giovanni/node-df.git"
},
"keywords": ["node", "df", "disk", "free", "diskfree"],
"bugs": {
"url": "https://github.com/adriano-di-giovanni/node-df/issues"
},
"lint-staged": {
"*.js": ["eslint --fix", "git add"],
"*.json": ["prettier --write", "git add"]
},
"homepage": "https://github.com/adriano-di-giovanni/node-df"
}
# df
[![Build Status](https://travis-ci.org/adriano-di-giovanni/node-df.svg?branch=master)](https://travis-ci.org/adriano-di-giovanni/node-df)
`node-df` (abbreviation of **d**isk **f**ree) is a cross-platform Node.js wrapper around the standard Unix computer program, [df](http://en.wikipedia.org/wiki/Df_(Unix)).

@@ -117,2 +119,2 @@

* **isDisplayPrefixMultiplier**: if `true`, values for `size`, `used` and `available` are converted to strings and `prefixMultiplier` is displayed (see example above).
* **precision**: round `size`, `used` and `available` values to `precision` decimal digits.
* **precision**: round `size`, `used` and `available` values to `precision` decimal digits.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc