From 21ecaa0719c1b9d67c57e898c456103ccbd529c4 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 5 Sep 2016 10:07:28 +0800 Subject: [PATCH] Readme: document --cache-min hack (#128) * Readme: document --cache-min hack * Readme: fix anchor --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7791a68..8c44f31 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This allows your `npm install` commands to (mostly) work offline. Also, they get ### Overview +* [Unmaintained notice](#unmaintained-notice) * [Introduction](#introduction) * [Usage](#usage) * [Command line options](#command-line-options) @@ -18,6 +19,15 @@ This allows your `npm install` commands to (mostly) work offline. Also, they get * [Speed test](#speed-test) * [How it works](#how-it-works) +Unmaintained notice +------------------- + +This project works but is unmaintained [for various reasons](https://github.com/nolanlawson/local-npm/pull/122). An alternative is to use the [--cache-min option](https://addyosmani.com/blog/using-npm-offline/) instead: + +```sh +npm install --cache-min 9999999 +``` + Introduction --- @@ -33,8 +43,6 @@ If you're organizing a conference/meetup/whatever, you can also share this local Addy Osmani has [a nice post](https://addyosmani.com/blog/using-npm-offline/) comparing `local-npm` to other options. -**Unmaintained?** Yup, this project works but is unmaintained [for various reasons](https://github.com/nolanlawson/local-npm/pull/122). - Usage ------