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

bytes-to-co2

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bytes-to-co2 - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

CHANGELOG.md

36

package.json
{
"name": "bytes-to-co2",
"version": "0.3.1",
"version": "0.3.2",
"description": "Javascript module that calculates the co2 generated in transfer x amount of bytes over the network and the country.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/umd/index.js",
"umd": "dist/umd/index.js",
"browser": "dist/browser-esm/bytes-to-co2.min.js",
"types": "dist/esm/index.d.ts",

@@ -14,3 +15,3 @@ "files": [

"repository": {
"url": "https://github.com/dvelasquez/bytes-to-co2",
"url": "https://github.com/dvelasquez/carbon-tools",
"type": "git"

@@ -20,10 +21,8 @@ },

"process-data": "ts-node ./source-data/process-data.ts",
"prebuild": "rimraf ./dist",
"build": "npm run build:esm && npm run build:umd && npm run build:cjs",
"build:esm": "tsc",
"prebuild": "rimraf ./dist && npm run process-data",
"build": "npm run build:esm && npm run build:umd && npm run build:cjs && npm run esbuild:browser:esm",
"build:esm": "tsc -d --declarationMap",
"build:umd": "tsc --outDir ./dist/umd -m umd",
"build:cjs": "tsc --outDir ./dist/cjs -m commonjs",
"lint": "eslint --quiet --fix && tsc --noEmit",
"test": "tap --node-arg=--require=ts-node/register/transpile-only",
"posttest": "tap --coverage-report=html --coverage-report=cobertura"
"esbuild:browser:esm": "esbuild --bundle --format=esm --platform=browser --target=es6 --outfile=dist/browser-esm/bytes-to-co2.min.js --sourcemap --minify src/index.ts"
},

@@ -38,18 +37,2 @@ "author": "Danilo Velasquez <danilo.velasquez@gmail.com>",

],
"dependencies": {},
"devDependencies": {
"@types/eslint": "^7.2.3",
"@types/prettier": "^2.1.1",
"@types/tap": "^14.10.1",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.8.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"tap": "^14.10.8",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"tap": {

@@ -65,3 +48,4 @@ "nyc-arg": [

]
}
},
"gitHead": "23aa9353168d895a6f0d0e3e8a46fc7062a958e0"
}
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