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

saturn-css

v0.0.5

Published

Created by Nassime HARMACH, SaturnCSS is a free style library that simplifies the positioning of elements directly from the HTML file.

Downloads

15

Readme

Note.

  • The library is compatible with React and Angular applications.
  • In the near future, the library will be compatible with all front-end applications.

Installation & Usage

  1. Installation of the package on your Angular or React project.
npm install saturn-css
  1. Script execution for install & update.
npm run saturn-css

Description.

This library promotes atomic design, which involves breaking down user interfaces into elementary components called atoms, molecules, organisms, etc...

This approach fosters code reusability, consistency, and maintainability. The design system file provides the necessary basic elements for building these atoms and their associated components by defining their structure and style.

However, when assembling website pages, it may be necessary to adjust certain visual or functional aspects of the components without altering their basic structure. This is where the library comes into play: by providing a set of additional CSS classes, it allows for the rapid application of predefined styles for elements such as margins, spacing, positioning, etc.

The library and the design system work in synergy, offering a comprehensive and modular approach for frontend development, where the atoms defined in the design system serve as a solid foundation to which the library's classes add functionality and styles specific to the usage context.

Documentation : https://saturn-css.3a1d.com/

Operation.

  1. The installation of the package from the root of your Angular or React project via Node Package Manager is mandatory for using the library.

  2. To install the library in your Angular ou React project, execute the second command from the root of your application. Each time you wish to update the library, there is no need to repeat step 1; simply execute the second command.

Details.

  1. Package installation.
  • +1 file package.json
  • +1 file README.md
  • +1 file script.sh
  • +1 file install.js
  • +1 file LICENSE
  1. Executing the script from the command line.

if Angular application :

  • Transfer of the file saturn.css to the project folder.
  • Creation of a file script.js.
  • Execution of the script.js.
  • Addition of the absolute path of the file saturn.css in angular.json.
  • Permanent deletion of the file script.js.

if React application :

  • Transfer of the file saturn.css to the project folder.
  • Creation of a file script.js.
  • Execution of the script.js.
  • Addition of the absolute path of the file saturn.css in main.jsx.
  • Permanent deletion of the file script.js.

Credits.

The style library and all installation scripts were developed by Nassime HARMACH and edited by 3A1D. All related code is open source.