EnglishFrenchSpanish

OnWorks favicon

npm-cache - Online in the Cloud

Run npm-cache in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command npm-cache that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


npm-cache - Manipulates packages cache

SYNOPSIS


npm cache add <tarball file>
npm cache add <folder>
npm cache add <tarball url>
npm cache add <name>@<version>

npm cache ls [<path>]

npm cache clean [<path>]

DESCRIPTION


Used to add, list, or clear the npm cache folder.

add Add the specified package to the local cache. This command is primarily intended to
be used internally by npm, but it can provide a way to add data to the local
installation cache explicitly.

ls Show the data in the cache. Argument is a path to show in the cache folder. Works a
bit like the find program, but limited by the depth config.

clean Delete data out of the cache folder. If an argument is provided, then it specifies
a subpath to delete. If no argument is provided, then the entire cache is cleared.

DETAILS


npm stores cache data in the directory specified in npm config get cache. For each package
that is added to the cache, three pieces of information are stored in
{cache}/{name}/{version}:

.../package/package.json
The package.json file, as npm sees it.

.../package.tgz
The tarball for that version.

Additionally, whenever a registry request is made, a .cache.json file is placed at the
corresponding URI, to store the ETag and the requested data. This is stored in
{cache}/{hostname}/{path}/.cache.json.

Commands that make non-essential registry requests (such as search and view, or the
completion scripts) generally specify a minimum timeout. If the .cache.json file is
younger than the specified timeout, then they do not make an HTTP request to the registry.

CONFIGURATION


cache
Default: ~/.npm on Posix, or %AppData%/npm-cache on Windows.

The root cache folder.

Use npm-cache online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad