whatisgithub

What is npm-git-lock?

skevy/npm-git-lock — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2016-04-08

JavaScriptAudience · ops devopsComplexity · 3/5DormantSetup · moderate

In one sentence

npm-git-lock caches your Node.js project's installed dependencies in a separate git repo, so builds are fast, reproducible, and don't depend on npm servers being up.

Mindmap

mindmap
  root((repo))
    What it does
      Caches node_modules
      Uses git repo storage
      Checksum tagging
      Skips npm when unchanged
    Tech stack
      JavaScript
      npm
      Git
    Use cases
      Faster CI builds
      Reproducible builds
      Avoid npm outages
      Cross platform deps
    Audience
      Ops devops
      Developers
    Options
      Cross platform builds
      Incremental installs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Speed up CI builds by pulling pre-installed dependencies from git instead of running npm install every time.

USE CASE 2

Avoid deployment failures caused by npm servers being temporarily unavailable.

USE CASE 3

Keep large dependency changes out of your main project's git history.

USE CASE 4

Maintain separate dependency repositories for different operating systems like Linux CI and local Mac development.

What is it built with?

JavaScriptnpmGit

How does it compare?

skevy/npm-git-locka15n/a15na15n/checkout-validation
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-04-082019-04-072014-09-04
MaintenanceDormantDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires setting up and pointing the tool at a dedicated git repository for storing node_modules.

Copy-paste prompts

Prompt 1
Show me how to set up npm-git-lock with a dedicated git repository for my node_modules.
Prompt 2
Help me configure npm-git-lock to run only on my CI server and not locally.
Prompt 3
How does npm-git-lock decide when to re-run npm install versus pulling from git?
Prompt 4
What are npm-git-lock's cross-platform build and incremental install options?

Frequently asked questions

What is npm-git-lock?

npm-git-lock caches your Node.js project's installed dependencies in a separate git repo, so builds are fast, reproducible, and don't depend on npm servers being up.

What language is npm-git-lock written in?

Mainly JavaScript. The stack also includes JavaScript, npm, Git.

Is npm-git-lock actively maintained?

Dormant — no commits in 2+ years (last push 2016-04-08).

How hard is npm-git-lock to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is npm-git-lock for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.