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

avcss

v1.1.2

Published

css library for easier styling

Downloads

10

Readme

avcss

css library for easier styling

to install: download and unzip avcss-v1.0.zip place avcss-v1.0.zip.css and avcss-v1.0.zip.js into your root directory in html, add <script src="avcss-v1.0.js"></script> to your head

OR

run npm install avcss in html, add <script src="your project folder/node_modules/avcss/avcss-v1.0.js"></script> for most cases: <script src="./node_modules/avcss/avcss-v1.0.js"></script>

to use: you can add attributes to elements

<p a>acss</p> will give you recommended css. sets element to top left with position absolute, and sets width to max-content <p t-re>red</p> will give you red text. each color is the first two letters of the name (except gray and green, use ga and ge) <p b-bl>black</p> will give you black background <p fs="2rem">2</p>is font size 2 <p f-bw="2px" f-bc="red">border</p> will give you text with a 2px red font border that wraps around the text. you can do top, left, bottom, right, border, border radius, and position: <p top="20px" position="relative", b="5px solid black">down from top with border</p> you can do t-c="color" or b-c="color" instead of the pre-set colors.

you can mix them, for example, <p a t-si b-bl position="relative" top="20px" left="10px" f-bw="2px" f-bc="red" fs="3rem" b="5px solid green" br="15px">mixed</p> will provide:

also, there are some built in animations you can add like this by using the css animation property, and selecting: sil (slide in left) sir (slide in right) sit (slide in top) sib (slide in bottom) sol (slide out left) sor (slide out right) sot (slide out top) sob (slide out bottom) fi (fade in) fo (fade out)