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

microjob

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microjob - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

.bookignore

52

package.json
{
"name": "microjob",
"version": "0.2.0",
"version": "0.2.1",
"description": "A tiny wrapper for Node.js worker_threads lib",

@@ -11,8 +11,10 @@ "main": "dist/job.js",

"clean": "rm -rf dist",
"test": "node --experimental-worker node_modules/.bin/_mocha -r ts-node/register ./test/**/*.ts",
"test-watch": "node --experimental-worker node_modules/.bin/_mocha --watch-extensions ts -r ts-node/register ./test/**/*.ts --watch -R min",
"pretest": "npm run lint",
"test": "node --experimental-worker node_modules/.bin/jest",
"test-watch": "node --experimental-worker node_modules/.bin/jest --watchAll",
"docs": "gitbook build . docs",
"serve-docs": "gitbook serve",
"lint": "tslint src/**/*.ts",
"prerelease": "npm run lint; npm test; npm run build; npm run docs"
"prerelease": "npm run lint; npm test; npm run build; npm run docs",
"report-coverage": "node --experimental-worker node_modules/.bin/jest --coverage && cat ./coverage/lcov.info | coveralls"
},

@@ -37,13 +39,45 @@ "engines": {

"homepage": "https://github.com/wilk/microjob#readme",
"jest": {
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules"
],
"coverageReporters": [
"json",
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 80,
"lines": 95,
"statements": 90
}
},
"transform": {
".ts": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/mocha": "^5.2.5",
"@types/jest": "^23.3.2",
"@types/node": "^10.9.4",
"chai": "^4.1.2",
"coveralls": "^3.0.2",
"gitbook-cli": "^2.3.2",
"mocha": "^5.2.0",
"jest": "^23.6.0",
"ts-jest": "^23.10.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.0.3"
}
},
"dependencies": {}
}
# Microjob
[![Build Status](https://travis-ci.org/wilk/microjob.svg?branch=master)](https://travis-ci.org/wilk/microjob)
[![Coverage Status](https://coveralls.io/repos/github/wilk/microjob/badge.svg?branch=feature%2Fcoverage)](https://coveralls.io/github/wilk/microjob?branch=feature%2Fcoverage)
A tiny wrapper for turning [Node.js threads](https://nodejs.org/api/worker_threads.html) in easy-to-use routines for CPU-bound.
![When my multithreaded program works like a charm](https://ljdchost.com/K074MgM.gif)
[When my multithreaded program works like a charm - thecodinglove](https://thecodinglove.com/when-my-multithreaded-program-works-like-a-charm)
## Introduction

@@ -5,0 +12,0 @@ Microjob is a tiny wrapper for Node.js threads and is intended to perform heavy CPU loads using anonymous functions.

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