npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

orna4node

v1.5.5

Published

orna4node is a tool for creation Atomic CSS.

Downloads

12

Readme

Orna4Node

Atomic CSS classes auto-creator

  • Just download it and put into your work directory with index.html.

  • Then run it with nodejs.

  • After, you can write classes like: color_red, height_100px and Orna automatically create atomic.css file with this class in root directory.

Structure: property_value, property_value_event;

Event, Pseudo-classes:

  • hover or ho
  • focus or fo
  • active or ac
  • first-child or fc
  • link or lk
  • visited or vi
  • checked or ch

Property:

  • color or c
  • width or w
  • height or h
  • margin or m (ml,mr,mt,mb)
  • padding or p (pl,pr,pt,pb)
  • background or bg
  • background-color or bgc
  • border or b (bl,br,bt,bb)
  • border-color or b-c (bl-c,br-c,bt-c,bb-c)
  • border-style or b-s (bl-s,br-s,bt-s,bb-s)
  • border-width or b-w (bl-w,br-w,bt-w,bb-w)
  • text-align or ta
  • text-decoration or td
  • font-family or ff
  • font-size or fs
  • font-weight or fw
  • transition-duration or t-dur
  • transition-delay or t-del
  • transition-property or t-pro
  • transition-timing-function or t-fun
  • display or d
  • And other like in CSS but with underscore : = _ !!!

Example

U can write:

class=" background-color_red height_100px width_50% color_#0f0 "

or

class=" bgc_red h_100px w_50% c_#0f0 "

More info: orna4node - NW.js

See also: ornajs;

Use Orna4Node-CLI with reload node module. For Browser autoreload! It's recommended!

How use it?

  • Install Node.js
  • Download Orna4Node-CLI
  • Install reload node module from CMD. Write: (npm install -g reload).
  • Start "reload". Write in CMD: reload --browser. But do it from right directory. For directory changes use "cd C:\path". Path where the index.html is.
  • Create index.html with orna4node classes and put it with Orna4Node file.
  • Start orna4node.js from CMD. Write: node orna4node.js. But do it from right directory. For directory changes use "cd C:\path".