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
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

  • 1
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 2
    7zr
    7zr
    7zr - A file archiver with highest
    compression ratio ...
    Run 7zr
  • 3
    cpan
    cpan
    cpan - easily interact with CPAN from
    the command line ...
    Run cpan
  • 4
    cpan2debp
    cpan2debp
    dh-make-perl - Create debian source
    packages from Perl modules ...
    Run cpan2debp
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad