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

prime-itcss

v1.1.3

Published

Prime CSS structure for concentration of multiple projects (SCSS/STYLUS/LESS)

Downloads

10

Readme

Prime ITCSS

licence mit issues GitHub release npm devDependency Status

Translations

Introduction

With the intention of having a CSS core of several projects in one place. It was created this project to serve as the basis of a front-end project. Using the methodology of ITCSS and syntax SCSS, STYLUS and LESS.

The idea of using the core is when you need more than one project in the same domain. Say in your domain , you need to have the files for site and admin area. Thus, the structure with the core would look like the example below:

>source
 > prime
 > admin
  > style.scss 
 > site
  > style.scss 

With this, in the prime were the tools that will be used in both projects (icons, mixins, functions and more).

Example usage

In each project folder, it is not necessary to have some folders (00-settings, 01-tools, 03-generic, 03-base, 04-vendor e 09-trumps), but this is not a rule, you will know the best for your project.

When writing , I am considering that the sample projects (site, admin), they are different and to have this distinction, folders (05-objetcs, 06-components, 07-pages e 08-theme), will be customized for each project.

Recalling once again, the intention is to show the concept that one must have a prime, to avoid repeated code and making it difficult to maintain. The organization of folders in the projects , is at the discretion of the need of the same.

style.scss (site)

@import "../prime/00-settings/_variables";
@import "../prime/01-tools/_mixins";

@import "05-objects/_alerts";

Observations and Installation

The project comes with usage tips with GulpJS or GruntJS. Choosing a automizador tasks, just knowing that only need to be aware in 3 places:

  • At the root, Gruntfile.js or Gulpfile.js.
  • In folder tasks, where tasks are divided by automator.
  • In the file package.json, where are the dependencies.

Only interests the files , they are in the folder source. Opting to use one of the suggested Automation , just stay tuned to the three places that were mentioned above and run in the terminal:

npm install // To install the dependencies

And with the dependencies installed , the command default the automator.

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

Log

Check Releases for detailed changelog.

License

MIT license © Hemerson Vianna