
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.
vue-persistent-storage-manager
Advanced tools
Vue plugin that wraps the StorageManager API and provides reactivity.
Vue plugin that wraps the StorageManager API and provides reactivity.
# yarn
$ yarn add vue-persistent-storage-manager
# npm
$ npm install vue-persistent-storage-manager
import Vue from 'vue'
import { VuePersistentStorageManager } from 'vue-persistent-storage-manager'
Vue.use(VuePersistentStorageManager, { watchStorage: true })
Note: If
watchStorage
is set totrue
, the functionslocalStorage.setItem
andlocalStorage.removeItem
are replaced by event-emitting functions. These replacements wrap the original functions and enable recalculation of theStorageEstimate
.
plugins/persistentStorageManager.ts
as seen below.import Vue from 'vue'
import { VuePersistentStorageManager } from 'vue-persistent-storage-manager'
export default () => {
Vue.use(VuePersistentStorageManager, { watchStorage: true })
}
nuxt.config.js
:export default {
plugins: [
{ src: '~/plugins/persistentStorageManager.ts' },
],
}
# install dependencies
$ yarn install
# build for production
$ yarn build
# lint project files
$ yarn lint
# run tests
$ yarn test
MIT - Copyright © Jan Müller
FAQs
Vue plugin that wraps the StorageManager API and provides the state of the persistent-storage permission alongside a storage estimate.
The npm package vue-persistent-storage-manager receives a total of 26 weekly downloads. As such, vue-persistent-storage-manager popularity was classified as not popular.
We found that vue-persistent-storage-manager demonstrated a healthy version release cadence and project activity because the last version was released less than 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.