Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nice-napi

addaleax8.5mMIT1.0.2TypeScript support: included

nice(2) bindings for Node.js

nice, priority

readme

nice-napi – nice(2) bindings for Node.js

https://linux.die.net/man/2/nice as a JS function. That’s it, that’s the module.

const nice = require('nice-napi');
nice(5);  // Increase niceness by 5.