{"id":18257,"library":"css-value","title":"css-value","description":"A work-in-progress CSS value parser by TJ Holowaychuk. Version 0.0.1, no recent updates. It is a minimal parser that extracts CSS property values from strings. This package is a very early experimental release with no stability guarantees, no documentation, and no test coverage. Not recommended for production use; alternatives like postcss-value-parser or csstree are more mature.","status":"abandoned","version":"0.0.1","language":"javascript","source_language":"en","source_url":"git://github.com/visionmedia/css-value","tags":["javascript","css","parser","value"],"install":[{"cmd":"npm install css-value","lang":"bash","label":"npm"},{"cmd":"yarn add css-value","lang":"bash","label":"yarn"},{"cmd":"pnpm add css-value","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"The package is CJS but has no typings; import may work in bundlers but no TypeScript support.","wrong":"const parse = require('css-value')","symbol":"default","correct":"import parse from 'css-value'"},{"note":"Check actual exports; probably a default function.","wrong":"","symbol":"parse","correct":"import { parse } from 'css-value'"}],"quickstart":{"code":"import parse from 'css-value';\n\nconst css = 'color: red; font-size: 14px; background-color: #fff;';\nconst values = css.split(';').map(part => parse(part.trim()));\nconsole.log(values);\n// [{property: 'color', value: 'red'}, ...] (approximate)","lang":"javascript","description":"Parses a CSS value string into an object with property and value fields."},"warnings":[{"fix":"Use a stable parser like postcss-value-parser.","message":"Package is experimental and may not parse correctly.","severity":"breaking","affected_versions":"0.0.1"},{"fix":"Migrate to an actively maintained package.","message":"No updates since 2012; consider it unmaintained.","severity":"deprecated","affected_versions":"0.0.1"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install css-value","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'css-value'"},{"fix":"Use import parse from 'css-value' or const parse = require('css-value').","cause":"Incorrect import (default vs named).","error":"TypeError: parse is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}