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

rphm

v0.4.4

Published

RPHM is a free style library that manages the positioning of HTML elements. This library was created by Raphael BARD, and Nassime HARMACH with the aim of improving the web application development process.

Downloads

26

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 project.
npm install rphm
  1. Script execution for install & update.
npm run rphm

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://rphm-library.fr/

Operation.

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

  2. To install the library in your Angular 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 update.js
  • +1 file LICENSE
  1. Executing the script from the command line.

if Angular application :

  • Creation of a folder on the desktop.
  • Cloning of the library folder.
  • Transfer of the file main.css to the project folder.
  • Creation of a file script.js.
  • Execution of the script.js.
  • Addition of the absolute path of the file main.css in angular.json.
  • Permanent deletion of the file script.js.

if React application :

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

Credits.

The style library was created by Raphaël BARD. All installation scripts for it have been carefully written by Nassime HARMACH. All related code is open source.