{"versions":{"4.0.0":{"name":"@types/postcss-js","version":"4.0.0","description":"TypeScript definitions for postcss-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","url":"https://github.com/MysteryBlokHed","githubUsername":"MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-js"},"scripts":{},"dependencies":{"postcss":"^8.3.3"},"typesPublisherContentHash":"f7189b7c0a53fa0fe12b3a712ac4510c1621c1467412242d39e4fccd67fc3877","typeScriptVersion":"3.9","_id":"@types/postcss-js@4.0.0","dist":{"integrity":"sha512-ieu0u7T7jnUCFmXcf8JzoJ3/1U5NI3ZYpfX5zW2td0x/BqVQrpCQ6uOY9Ef/0WJuIjc9OCtdfYF/JE7MGax2TA==","shasum":"833d2d90ac9dd950fe2344defedcb152cb954156","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.0.0.tgz","fileCount":4,"unpackedSize":6306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgdmHm9osbBRjmuVGtzqHauth7eGsjiiDuoiBetbX2bAiBKqnH4wK/lZbF0RT/cEg9/N/TLvAX0RMJE5wvoM+m4+A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWLX0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpX8w/+K1qZhq1gmXChLA+oB01jIxb/sU/zvPcnxBXYhLkbbsQF5X+C\r\na7MEBVdc3ImAh7zFuNkUgKB3vU9H5JtOnQrQ2wVUTEI02W+qLZxz88bfgl7e\r\ntb4KdysqhDCGPT69ruhPJgNZx5r893wNPhouVmUd8wwLZmxFG7HLoH44hNMg\r\nTXFi3erhCLx3UlA+EBQY9V2leaKrBMFHeRaIjH544X+lw7VCUoo+WaU9XlqW\r\nvRa5WE2+RzSt8fAZ+iQt9Yxcq77oOwNfUV1MR91i6rqgN9l4GjDOv4GAepvW\r\nlPTsY5ORzIsbgYygQ4mIIvGqvJSoWkF/a+Xdq5qcAVlUO6Z+cqSSZ8oyDH28\r\n0Sgp8SeySkoAg7MInuQcnBNJ7RWskDi1UUiTEiPPBPSZaztw6rtJfAprf4wg\r\n7GGS20B7pBSOOXuY6xiex/98ewmGcg72TTzwKZgtWWv6cmX5i6EYaAJmvRLW\r\n1bOckt+hqrd2sVgyWs8pwxVAYTjPmp0ZOk6EA2QjB5DK8+RY9zY6K0fyZc6f\r\nG5w289tNi15kH7CyPvoLgukKSUfYrhbOtQERN6rI8D8WztzImpwGbeT51MN/\r\nst2dInUxcy4PN9qrUROU86T0PWFiSRA28h2PWMdUBjGRqVbBnfjTTvXiKwtp\r\nJsZPLCruOgHfC4EfgDcnbJmNkGCorJ3eYC4=\r\n=E6S0\r\n-----END PGP SIGNATURE-----\r\n","size":2114},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-js_4.0.0_1649980916121_0.8066929029405419"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-15T00:08:13.813Z"},"4.0.1":{"name":"@types/postcss-js","version":"4.0.1","description":"TypeScript definitions for postcss-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","url":"https://github.com/MysteryBlokHed","githubUsername":"MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-js"},"scripts":{},"dependencies":{"postcss":"^8.3.3"},"typesPublisherContentHash":"8727d5e3af7d365049c29593d3a880e5fe1052723f2d6ee4c278fb19317a8aa1","typeScriptVersion":"4.3","_id":"@types/postcss-js@4.0.1","dist":{"integrity":"sha512-B4EWDvQbB1MfvVxAgdshFcRwm/JVAc1UxziOlgek+Fl0IOeVNIiB7/mCXtJBVzkgHe5rE8G/yZ5j7IUf/1dlFA==","shasum":"4d64dc6fb0ce4bd8bee8af33aced6780459aee4f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.0.1.tgz","fileCount":5,"unpackedSize":6282,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoINlgYexu13roRqiKIGWj2SBG4q+jkJ4r9Pkv3SbsQwIhAK1HqxFfnZs7LnePkvhwdpldVbwe2tBc8zNcfNfZLA5/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPs2CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYFg//RsiAIIGoITOSPoOPSOS4nMCWN+09iBTxfU26WnF4MmzNghgc\r\nwncjAPEN6NAa1VChQbWiJqU+UYKw3SYGf+jVdeeBfNO2PO82xjQvl3BYS13G\r\nEm/4vBCP7ynJXLot85z5T3TebAIJkSYQ0qjn9FJ0RCLKnhXHoXM9c4IsjF2O\r\nNdgqXwe3OiZQNOumjVTbSwnTduFl/J6OBeJ2FjSGNiMasavdymqiFacRNZc/\r\nF6ExQCa7hdjsRZ/nMAnVA4CIYKemHPd/gJMZ7augi48681BFac5cp8isWJ6Z\r\nWNp+9QIlhS+IS4s10Wxf9mBy05IlghRTpU7QMK8q2e5oCdhcq+Llyt2c6Tar\r\nFoF3UBgxh+w+DyyBMffkFEVHza2Bsk5Zx1J0RtXJBO0dzOy4KP+EIkwDd1Dm\r\nZEvoA0FxlgfbQv10vvVSMm0dELlz8pVcHwNWet7vO7PUiZ8kDpu32uE7kiog\r\nghO+393q8J9i2WeVmJplVBj+/X9utr/2fxtpyTrOhyG8NxLR4BFs1jpuoMMA\r\nFLi1wJq+AQYOWgdhTLBpaZFqO7c7rlVtjekuQZW3nMl8HTFsz+YHxJZagRUu\r\nYBeSEGRHzIsjDWZli02RPU6UUX0AksQAqtkbcdk2a2IVLi16qcEZLuc/+Sn6\r\nvH9S3LsZKuazSy9H6a1JubQAX8KoUIiJRtc=\r\n=NuE0\r\n-----END PGP SIGNATURE-----\r\n","size":2153},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-js_4.0.1_1681837442698_0.2112051574583793"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-18T17:04:02.920Z","publish_time":1681837442920},"4.0.2":{"name":"@types/postcss-js","version":"4.0.2","description":"TypeScript definitions for postcss-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","url":"https://github.com/MysteryBlokHed","githubUsername":"MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-js"},"scripts":{},"dependencies":{"postcss":"^8.3.3"},"typesPublisherContentHash":"4582075e0913620deee449e1bd9ebf2e674a179b286eef5d71e8494e06a045cb","typeScriptVersion":"4.5","_id":"@types/postcss-js@4.0.2","dist":{"integrity":"sha512-sue6B58P803rmGo/dAR3Wd9MbMB18gDdFHEvpRCV0dSTIMPxfeCxCJOShW5RaRkpINPj80JI3jerODv7sdBhOA==","shasum":"f7c1ffd879e80ca33a3798bb94bf539c8c4b93e9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.0.2.tgz","fileCount":5,"unpackedSize":6282,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEK1dnkFPGc3jXvCncn7NhfHgM3+tOYBhmiEIOh+aRrRAiBt/ne5D9LrzcJjjB4aFfwTNZZ2D60qMIJgqFT8Z+81FA=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-js_4.0.2_1695539069998_0.5462812425429793"},"_hasShrinkwrap":false},"4.0.3":{"name":"@types/postcss-js","version":"4.0.3","description":"TypeScript definitions for postcss-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed","url":"https://github.com/MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-js"},"scripts":{},"dependencies":{"postcss":"^8.3.3"},"typesPublisherContentHash":"91b08daabe1129964750f94d3efce88627a669072dcadcc6e5604c2d6343b752","typeScriptVersion":"4.5","_id":"@types/postcss-js@4.0.3","dist":{"integrity":"sha512-UQxd8y3HnTU4zzqj5IS4NgMuasIgM8NlNKuGo2DolI8NH7LVHm22WjbqxEZ9C+n9bdlE4HwHE7Gc7kFZruxOXA==","shasum":"5c6958ba1e7c4c391f04c3e724a912a4fa669a9b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.0.3.tgz","fileCount":5,"unpackedSize":5778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2V7KPDsAsJ7rFoEKpC/J9onO7WwNIKdpvpsJNUf+sggIhAIB2ytusUHkd2zGMBsweoga+MbEBC1p6SJJZJDOHZMRv"}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-js_4.0.3_1697627530726_0.48411438191684586"},"_hasShrinkwrap":false},"4.0.4":{"name":"@types/postcss-js","version":"4.0.4","description":"TypeScript definitions for postcss-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed","url":"https://github.com/MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-js"},"scripts":{},"dependencies":{"postcss":"^8.3.3"},"typesPublisherContentHash":"06413374b7e8bd3a86f4a166e9f939c9ea37393144b478ca15b404bd2270c9af","typeScriptVersion":"4.5","_id":"@types/postcss-js@4.0.4","dist":{"integrity":"sha512-j5+GMZVIPCJpRTwI/mO64mCzv7X+zAEq3JP0EV2lo/BrLWHAohEubUJimIAY23rH27+wKce0fXUYjAdBoqlaYw==","shasum":"4f0fafd7a0508c7edd33095f8743e8cf5c28ad78","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.0.4.tgz","fileCount":5,"unpackedSize":5778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqezjswRTj4WDNaK8wTEfto7lN1N3m7yQuzeUKOoUVCAiABsmcvEWf1Lc3wIxd5aXvzsCN0rq3UjGN0+asK1HeiAQ=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-js_4.0.4_1699362842967_0.9913760238265872"},"_hasShrinkwrap":false},"4.1.0":{"name":"@types/postcss-js","version":"4.1.0","license":"MIT","_id":"@types/postcss-js@4.1.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/MysteryBlokHed","name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js","dist":{"shasum":"8a5adb4c066b05256d076c4ae9e52725a788f7fe","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-js/-/postcss-js-4.1.0.tgz","fileCount":5,"integrity":"sha512-E19kBYOk2uEhzxfbam6jALzE6J1GNdny2jdftwDHo72+oWWt7bkWSGzZYVfaRK1r/UToMhAcfbKCAauBXrxi7g==","signatures":[{"sig":"MEUCIQC5ueukQGj/lDEddYTK5Bj8/Ztc40J7PVvd+sy1p/+7lgIgEC81dadEr9Cp9iu6IDWHq6vIqpwT1pHCnB8IzDAT/rg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6032,"size":2182},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/postcss-js"},"description":"TypeScript definitions for postcss-js","directories":{},"dependencies":{"postcss":"^8.3.3"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/postcss-js_4.1.0_1761597324490_0.5547217603835084","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"e7f411bdbadc36029f77c50689dd205a75fa4430cd66615c60b5643462bddc69","_cnpmcore_publish_time":"2025-10-27T20:35:24.747Z","publish_time":1761597324747,"_source_registry_name":"default"}},"dist-tags":{"latest":"4.1.0","ts3.9":"4.0.0","ts4.0":"4.0.0","ts4.1":"4.0.0","ts4.2":"4.0.0","ts4.3":"4.0.1","ts4.4":"4.0.1","ts4.5":"4.0.4","ts4.6":"4.0.4","ts4.7":"4.0.4","ts4.8":"4.0.4","ts4.9":"4.0.4","ts5.0":"4.0.4","ts5.1":"4.0.4","ts5.2":"4.1.0","ts5.3":"4.1.0","ts5.4":"4.1.0","ts5.5":"4.1.0","ts5.6":"4.1.0","ts5.7":"4.1.0","ts5.8":"4.1.0","ts5.9":"4.1.0","ts6.0":"4.1.0"},"name":"@types/postcss-js","time":{"created":"2022-04-15T00:08:16.375Z","modified":"2025-10-27T20:35:38.158Z","4.0.0":"2022-04-15T00:01:56.285Z","4.0.1":"2023-04-18T17:04:02.920Z","4.0.2":"2023-09-24T07:04:30.233Z","4.0.3":"2023-10-18T11:12:11.029Z","4.0.4":"2023-11-07T13:14:03.237Z","4.1.0":"2025-10-27T20:35:24.747Z"},"readme":"# Installation\r\n> `npm install --save @types/postcss-js`\r\n\r\n# Summary\r\nThis package contains type definitions for postcss-js (https://github.com/postcss/postcss-js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-js/index.d.ts)\r\n````ts\r\nimport { AcceptedPlugin, LazyResult, ProcessOptions, Root } from \"postcss\";\nimport NoWorkResult = require(\"postcss/lib/no-work-result\");\n\n/** CSS-in-JS object */\nexport type CssInJs = Record<string, any>;\n\nexport interface ObjectifyOptions {\n    stringifyImportant?: boolean | undefined;\n}\n\n/**\n * Convert a PostCSS `Root` into a CSS-in-JS object\n * @param root The root to convert\n * @returns CSS-in-JS object\n */\nexport function objectify(root: Root, options?: ObjectifyOptions): CssInJs;\n\n/**\n * Parse a CSS-in-JS object into a PostCSS `Root`\n * @param obj The CSS-in-JS to parse\n * @returns A PostCSS `Root`\n */\nexport function parse(obj: CssInJs): Root;\n\n/**\n * Create a PostCSS processor with a simple API\n * @param plugins Synchronous plugins to use with PostCSS\n * @returns A processor function that accepts (idk) and returns a CSS-in-JS object\n */\nexport function sync(plugins: AcceptedPlugin[]): (input: CssInJs) => CssInJs;\n\n/**\n * Create a PostCSS processor with a simple API, allowing asynchronous plugins\n * @param plugins Plugins to use with PostCSS\n * @returns A processor function that accepts (idk) and returns a CSS-in-JS object\n */\nexport function async(plugins: AcceptedPlugin[]): (input: CssInJs) => Promise<CssInJs>;\n\n// Override process method to allow passing CssInJs\n// when the parser is the postcss-js parser.\n// This lets the postcss-js parser be used\n// as long as the object passed to `process` is a CSS-in-JS object\ndeclare module \"postcss/lib/processor\" {\n    class Processor_ {\n        process(\n            obj: CssInJs,\n            opts: Omit<ProcessOptions, \"parser\"> & { parser: typeof parse },\n        ): LazyResult | NoWorkResult;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 27 Oct 2025 20:34:59 GMT\r\n * Dependencies: [postcss](https://npmjs.com/package/postcss)\r\n\r\n# Credits\r\nThese definitions were written by [Adam Thompson-Sharpe](https://github.com/MysteryBlokHed).","users":{}}