New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-rev

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-rev - npm Package Versions

2

1.3.0

Diff

kellyrmilligan
published 2.0.0 •

kellyrmilligan
published 1.2.0 •

kellyrmilligan
published 1.1.3 •

kellyrmilligan
published 1.1.2 •

kellyrmilligan
published 1.1.1 •

kellyrmilligan
published 1.1.0 •

Changelog

Source

1.1.0

  • added support for comma separated glob patterns
import nodeRev from 'node-rev'

nodeRev({
  files: 'dist/styles/**/*.css, dist/scripts/**/*.js',//glob to files you want in the manifest
  outputDir: 'dist/styles',//where you want the files to be output that are part of the manifest
  file: 'dist/css-assets.json',//optional, allows you to specify location of manifest file and name it, default is root of the project
  hash: true//if you are in dev mode, you can set this to false to just have it create the manifest with the same filenames
})
kellyrmilligan
published 1.0.4 •

kellyrmilligan
published 1.0.3 •

kellyrmilligan
published 1.0.2 •

2
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