New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rev-manifest-path

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rev-manifest-path

Get the cache busted path of an asset from a `gulp-rev` or `gulp-rev-all` manifest.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
152
16.92%
Maintainers
1
Weekly downloads
 
Created
Source

rev-manifest-path

Get the cache busted path of an asset from a gulp-rev or gulp-rev-all manifest.

Installation

npm install --save rev-manifest-path

Usage


var helper = require('rev-manifest-path');

var assetPath = helper({
  prefix: '/assets',
  manifest: './build/rev-manifest.json'
});

console.log(assetPath('bundled.js')) //prints "/assets/bundled.fdfd034b.js"
console.log(assetPath('bundled.css')) //prints "/assets/bundled.d1a51643.css"

FAQs

Package last updated on 01 Jun 2016

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