New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nari

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nari

[![npm version](https://badge.fury.io/js/nari.svg)](https://badge.fury.io/js/nari)

latest
Source
npmnpm
Version
0.0.10
Version published
Weekly downloads
2
Maintainers
0
Weekly downloads
 
Created
Source

nari

npm version

A lockfile-less JavaScript package manager with reproducible installs.

Goals:

  • Developer productivity with existing JavaScript ecosystem and tooling
  • The best performance achievable with Node.js
  • Good explanation of package manager behavior - why the dependency is placed here or there during installation, what factors contributed to this decision and what to do to make the dependency singular for the project
  • Fine-grained control of package manager behavior for various types of workflows
  • Experimental features that have good compatibility with current JavaScript ecosystem

Implemented experimental features:

  • Reproducible installs without lockfiles. lockTime field is used instead in the package.json file to fixate the time of install. On subsequent installs the highest dependency versions are picked that were published before lockTime. When new dependencies added to the project that were published after lockTime their ranges are resolved to the minimal satisfying version (typically the ranges of newly added dependencies are the latest at the moment when they are added to the package.json).

Usage:

  • Install nari globally first:
npm i -g nari
  • Run installation within your Node.js project directory:
nari
  • Run script foo from package.json:
nari foo
  • Add/remove packages to your project:
nari add lodash
  • Get command line help:
nari -h

Keywords

modules

FAQs

Package last updated on 12 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts