
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
[Deprecated] Use postcss-value-parser instead
css parsing helpers
If separators
is not specified, it will default to
[' ', '\n', '\t', ',', '/']
.
list.each('"50%" 50%/100% calc(100% + 20%)', [' ', '/'], function (value, type) {
// "50%" quote
// 50% null
// 100% null
// calc(100% + 20%) func
});
list.map('"50%" 50%/100% calc(100% + 20%)', [' ', '/'], function (value, type, prevValue, prevType) {
if(type === 'func' || type === 'quote') {
return type;
}
});
// quote 50%/100% func
// space
list.split('10px 20px 5px 15px')', ['\n', '\t', ' '])
// ['10px', '20px', '5px', '15px']
// comma
list.split('10px, 20px, 5px, ')', [','], true)
// ['10px', '20px', '5px', '']
FAQs
[Deprecated] Use postcss-value-parser instead
The npm package css-list receives a total of 2,609 weekly downloads. As such, css-list popularity was classified as popular.
We found that css-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.