Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

famous-git-cache

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

famous-git-cache

Module for git cloning repos to a cache folder on disk and managing that cache

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

famous-git-cache

Build Status Dependency Status devDependency Status

This module is used to fetch the a git repo, checkout a specific version and then return a plain old JavaScript key-value object hash where the key is the relative path (e.g. core/Engine) and the value is the raw content of the that module as a string.

Usage

var fetchFamous = require('famous-git-cache').fetchFamous;

fetchFamous('0.2.1', function(err, famous) {
  if (err) { return console.log(err); }
  /* do something with famous */
});
var clone = require('famous-git-cache').clone;
clone({
  repo: 'git@github.com:Famous/core.git',
  ref: 'master'
}, function(err, corePath) {
  if (err) { return console.log(err); }
  /* do something with corePath */
});

License


This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

FAQs

Package last updated on 04 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc