Socket
Socket
Sign inDemoInstall

@phytonmk/nano-css

Package Overview
Dependencies
24
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @phytonmk/nano-css

Smallest 5th gen CSS-in-JS library


Version published
Weekly downloads
6K
decreased by-12.05%
Maintainers
1
Install size
6.97 MB
Created
Weekly downloads
 

Readme

Source

nano-css

Tiny 5th generation CSS-in-JS library that you can actually use in production. Motto of nano-css is simple: create the smallest possible CSS-in-JS library and provide all features of any other library through addons.

  • Only 0.5 Kb in base configuration, e.g. styled-components is 15.1Kb
  • Library-agnostic — use it standalone, with React, Preact, Vue.js, or any other library
  • Isomorphic — render on server and browser, generates stable class names, and re-hydrates
  • Performantsimply the fastest library; 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
  • @media queries and animation @keyframes are supported
  • Auto-prefixes your styles
  • Extract CSS into external style sheet
  • Public domainUnlicense license

Reference

Keywords

FAQs

Last updated on 04 Jul 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc