
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
browser-module-cache
Advanced tools
Caches browserify-cdn modules using level.js
npm install browser-module-cache
var createCache = require('browser-module-cache')
var cache = createCache({
name: 'browser-module-cache' // name of level.js database
inMemory: false // Whether to force usage of memdown
})
cache.put(packages, callback)
Saves a browserify-cdn object where the keys bundle
and package
are required.
cache.put({
blah: {
bundle: 'blahblahblah',
package: {
name: 'blah',
author: 'The Dude',
},
},
}, function() {
console.log('saved!')
})
cache.get([package, ]callback)
Gets all or one specific package from cache.
cache.get(function(err, modules) {
console.log('all modules', modules)
})
cache.get('blah', function(err, module) {
console.log('the blah module', module)
})
cache.clear(callback)
Removes all cached modules.
cache.clear(function(err) {
console.log('all clean')
})
inMemory
option to memdown (@maxogden)Copyright (c) 2013 Kyle Robinson Young
Licensed under the MIT license.
FAQs
Caches browserify-cdn modules using level.js
The npm package browser-module-cache receives a total of 0 weekly downloads. As such, browser-module-cache popularity was classified as not popular.
We found that browser-module-cache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.