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
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad