GithubHelp home page GithubHelp logo

test-mass-forker-org-1 / hash-and-cache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/hash-and-cache

0.0 0.0 0.0 66 KB

Allows you to wrap caching behavior around an arbitrary command. It will take in a list of source files, generate a hash, then check a cache (stored in Azure Storage) to see if those inputs have been seen before. If so it will download the cached outputs instead of running the command. If no cache is found matching the hash it will run the command instead.

License: MIT License

JavaScript 100.00%

hash-and-cache's Introduction

Hash and Cache

This Azure DevOps extension (and/or NPM package) allows you to wrap caching behavior around a command-line command. Most common scenario is for npm install. This task will hash the contents of your package.lock file, and if it is unchanged from previous runs download a cached copy of the node_modules folder from an Azure Storage account - and skip running npm install.

If package.lock is changed, it will not find a valid cache and will run npm install as normal (and optionally create a new cache entry and upload to Azure Storage).

hash-and-cache's People

Contributors

dylan-smith avatar microsoftopensource avatar msftgits avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.