
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
coffee-storage
Advanced tools
使用了库管理localStorage的某项item后,请勿再手动用localStorage的api去修改,必须用库去修改,否则会产生不可预料的结果。
//key为是在localStorage中的item的名称
var storage = new Storage('key');
//如果需要版本管理
var storage = new Storage({
key: 'key',
version: '1.1', //每当版本号变更的时候,会清空原有内容
autoSave: true, //是否自动保存,自动保存的话,在使用了set之后就自动保存
});
set设置属性的值storage.set('x', 1);
get获取属性的值storage.get('x'); //1
has判断是否有这个属性storage.has('x'); //true
del删除值storage.del('x');
save保存//默认会自动保存
storage.save();
clear清空所有值storage.clear();
FAQs
localstorage helper
The npm package coffee-storage receives a total of 6 weekly downloads. As such, coffee-storage popularity was classified as not popular.
We found that coffee-storage 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.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.