{"name":"nano-css","version":"5.6.0","description":"Smallest 5th gen CSS-in-JS library","main":"index.js","types":"index.d.ts","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/streamich/nano-css.git"},"license":"Unlicense","scripts":{"lint":"eslint ./index.js","lint:fix":"yarn lint --fix","start":"yarn storybook","clean":"rimraf dist && yarn test:visual:clean","test":"yarn lint && jest","test:coverage":"jest --coverage","test:watch":"jest --watch","test:visual":"npm run storybook","test:visual:build":"build-storybook","test:visual:clean":"rimraf storybook-static","demo":"webpack-dev-server --config demo/webpack.config.js","prettier":"prettier --write '**/*.ts'","precommit":"lint-staged","prepush":"yarn test","storybook":"start-storybook -p 6010"},"lint-staged":{"**/*.ts":["prettier --write","git add"]},"peerDependencies":{"react":"*","react-dom":"*"},"dependencies":{"@jridgewell/sourcemap-codec":"^1.4.15","css-tree":"^1.1.2","csstype":"^3.1.2","fastest-stable-stringify":"^2.0.2","inline-style-prefixer":"^7.0.0","rtl-css-js":"^1.16.1","stacktrace-js":"^2.0.2","stylis":"^4.3.0"},"devDependencies":{"@storybook/addon-actions":"6.1.11","@storybook/addon-links":"6.1.11","@storybook/react":"6.1.11","@types/jest":"26.0.20","@types/node":"14.14.20","@types/prop-types":"15.7.3","@types/react":"17.0.0","eslint":"7.17.0","git-cz":"4.7.6","husky":"4.3.7","iconista":"2.14.0","jest":"26.6.3","lerna":"3.22.1","libreact":"2.13.3","lint-staged":"10.5.3","prettier":"2.2.1","prop-types":"15.7.2","react":"17.0.1","react-dom":"17.0.1","react-test-renderer":"17.0.1","rimraf":"3.0.2","source-map-support":"0.5.19","ts-loader":"8.0.14","tslib":"2.1.0","typescript":"4.1.3","webpack":"5.76.0","webpack-bundle-analyzer":"4.3.0","webpack-dev-server":"3.11.1","yarn":"1.22.10"},"config":{"commitizen":{"path":"git-cz"}},"jest":{"transformIgnorePatterns":[],"testRegex":".*/__tests__/.*\\.(test|spec)\\.(jsx?)$","setupFiles":["./addon/__tests__/setup.js"],"moduleFileExtensions":["js","jsx","json"]},"prettier":{"printWidth":120,"tabWidth":4,"useTabs":false,"semi":true,"singleQuote":true,"trailingComma":"none","bracketSpacing":false,"jsxBracketSameLine":false},"keywords":["css","style","styles","pico","nano","lite","react","js","in-js","css-in-js","styled","decorator","component","styled-components","jsxstyle","rule","stylesheet"],"_id":"nano-css@5.6.0","gitHead":"30f2356b39bb2f20aa0753d944482a2e46f20418","bugs":{"url":"https://github.com/streamich/nano-css/issues"},"homepage":"https://github.com/streamich/nano-css#readme","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-jNikscxQv93wwhmXN4w6XC1HVllqo3UvK2u7PRqjOfMJaD5gGkGvECgLxtILndQrWMUr4Mn8I4VurUyxMOipFw==","shasum":"b370802b0bb96e57be450734aa7ca5fa9be047f6","tarball":"http://registry-npm.ywwl.com/nano-css/download/nano-css-5.6.0.tgz","fileCount":162,"unpackedSize":265325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0zH7VO9f3l7dsIKFsN3UbqSfo50t+/hvfFNm8nHCg5AiEA92xg57X1p2NhAWvSPMkKdlhpLjfow7Vj/YvtD3T+5I4="}],"size":52972,"noattachment":false,"key":"/nano-css/-/nano-css-5.6.0.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"streamich","email":"vadimsdaleckis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nano-css_5.6.0_1700508962245_0.026665343205189096"},"_hasShrinkwrap":false,"readme":"# nano-css\n\n[![][npm-badge]][npm-url] [![][travis-badge]][travis-url]\n\n__Tiny [5<sup>th</sup> generation](https://github.com/streamich/freestyler/blob/master/docs/en/generations.md#5th-generation) CSS-in-JS library__ that you can actually use in production.\n__Motto of `nano-css` is simple__: *create the smallest possible CSS-in-JS library and provide all features of any other library through addons.*\n\n- __Only [0.5 Kb](https://bundlephobia.com/result?p=nano-css@1.15.3)__ in base configuration, *e.g. [`styled-components`](https://github.com/styled-components/styled-components) is [15.1Kb](https://bundlephobia.com/result?p=styled-components@3.2.5)*\n- __Library-agnostic__ &mdash; use it standalone, with React, Preact, Vue.js, or any other library\n- __Isomorphic__ &mdash; render on server and browser, generates stable class names, and re-hydrates\n- __Performant__ &mdash; [*simply the fastest library*](https://github.com/streamich/CSS-IN-JS-Benchmarks/blob/master/RESULT.md); does not create wrapper components, does not use inline styles or inline `<style>` elements, but caches all styles for re-use and injects CSS using `.insertRule()` for performance\n- __`@media` queries__ and __animation `@keyframes`__ are supported\n- __Auto-prefixes__ your styles\n- __Extract CSS__ into external style sheet\n- __Public domain__ &mdash; [Unlicense license](./LICENSE)\n\n> For pre-configured simple-to-use package see [`nano-theme`](https://github.com/streamich/nano-theme), which builds on top of `nano-css`.\n\n\n## Reference\n\n- [Installation](./docs/Installation.md)\n- [Addons](./docs/Addons.md)\n  - [`put()`](./docs/put.md) &mdash; [*demo!*](https://codesandbox.io/s/nkovxrzyv4)\n  - [`rule()`](./docs/rule.md) &mdash; [*demo!*](https://codesandbox.io/s/oxlj92m1m9)\n  - [`drule()`](./docs/drule.md) &mdash; [*demo!*](https://codesandbox.io/s/9jq5zmm91p)\n  - [`sheet()`](./docs/sheet.md) &mdash; [*demo!*](https://codesandbox.io/s/wyw093m7kw)\n  - [`dsheet()`](./docs/dsheet.md) &mdash; [*demo!*](https://codesandbox.io/s/q7rx4981vq)\n  - [`jsx()`](./docs/jsx.md) &mdash; [*demo!*](https://codesandbox.io/s/5y63x88504)\n  - [`useStyles()`](./docs/useStyles.md) &mdash; [*demo!*](https://codesandbox.io/s/o5k9jjo306)\n  - [`withStyles()`](./docs/withStyles.md) &mdash; [*demo!*](https://codesandbox.io/s/5k3jvkk31l)\n  - [`decorator`](./docs/decorator.md) &mdash; [*demo № 1*](https://codesandbox.io/s/j442958125) and [*demo № 2*](https://codesandbox.io/s/3qjzv35941)\n  - [`component`](./docs/component.md) &mdash; [*demo!*](https://codesandbox.io/s/yk8pk4v95j)\n  - [`style()`](./docs/style.md) &mdash; [*demo!*](https://codesandbox.io/s/53qk3qkopn)\n  - [`styled()()`](./docs/styled.md) &mdash; [*demo!*](https://codesandbox.io/s/w667y036p5)\n  - [`hyperstyle()`](./docs/hyperstyle.md) &mdash; [*demo!*](https://codesandbox.io/s/wqny7z17x8)\n  - [`stable`](./docs/stable.md)\n  - [`atoms`](./docs/atoms.md) &mdash; [*demo!*](https://codesandbox.io/s/rlkxl6o9v4)\n  - [`emmet`](./docs/emmet.md)\n  - [`nesting`](./docs/nesting.md)\n  - [`keyframes()`](./docs/keyframes.md)\n  - [`hydrate()`](./docs/hydrate.md)\n  - [`prefixer`](./docs/prefixer.md)\n  - [`stylis`](./docs/stylis.md)\n  - [`unitless`](./docs/unitless.md)\n  - [`!important`](./docs/important.md)\n  - [`:global`](./docs/global.md)\n  - [`animate/*`](./docs/animations.md)\n  - [`reset/*`](./docs/resets.md)\n  - [`reset-font`](./docs/reset-font.md)\n  - [`googleFont()`](./docs/googleFont.md)\n  - [`limit`](./docs/limit.md)\n  - [`amp`](./docs/amp.md)\n  - [`virtual`](./docs/virtual.md)\n  - [`spread`](./docs/spread.md)\n  - [`array`](./docs/array.md)\n  - [`snake`](./docs/snake.md) &mdash; [*demo!*](https://codesandbox.io/s/mo7n1857zj)\n  - [`tachyons`](./docs/tachyons.md)\n  - [`rtl`](./docs/rtl.md)\n  - [`extract`](./docs/extract.md)\n  - [`sourcemaps`](./docs/sourcemaps.md)\n  - [`.units`](./docs/units.md)\n  - [`cssom`](./docs/cssom.md)\n  - [`vcssom`](./docs/vcssom.md)\n- [Presets](./docs/Presets.md)\n- [Server-side rendering](./docs/SSR.md)\n\n\n[npm-url]: https://www.npmjs.com/package/nano-css\n[npm-badge]: https://img.shields.io/npm/v/nano-css.svg\n[travis-url]: https://travis-ci.org/streamich/nano-css\n[travis-badge]: https://travis-ci.org/streamich/nano-css.svg?branch=master\n","publish_time":1700508962556,"_cnpm_publish_time":1700508962556,"dist-tags":{"latest":"5.6.2"}}