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

create-webic-app

v1.0.17

Published

Create your web app blazingly fast with most lightweight, well organized, and full configurable boilerplate template for building web apps.

Downloads

5

Readme

Webic

Quick start

Note: Be sure to have Node.js installed before proceeding.

Use the create-webic-app script, instantly fetch the latest npm published package:

npx create-webic-app

Then, answer the questions:

? App name: # foo-app
? App description: # awesome description

that's it! Webic will set it up for you, and you're done.

Features

  • Robust base

Built on top of most crucially organized SASS partials, to ensure all basic styles are set, clean, scalable and easily maintainable.

  • Modules based

Require any module you want, the index.js file will be bundling up and works in the browser perfectly.

  • Automated Workflow

Includes gulpfile configurations to initialize a development environment that automates your workflow, debugging, starting a local server.

  • Environment scripts

Start your app right away, with series of npm scripts that can perform all tasks in a single action, easily and quickly.

Scripts

Inside the newly created app, you can run the following built-in commands:

npm start

Starts the development server.

npm run build

Optmizes and bundles the app for production.

npm run clean:dev

Removes the development environment.

npm run clean:build

Removes the production build.

What's included

Basic structure

A basic webic initial starter structure looks like this:

├── app/
│   ├── js/
│   ├── media/
│   ├── scss/
│   ├── index.html
│   ├── manifest.json
│   └── robots.txt
├── .eslintrc.json
├── .gitignore
├── .prettierrc
├── gulpfile.babel.js
├── package.json
├── README.md

Files

  • app/index.html: The main HTML file of your app.

  • app/manifest.json file, contains startup parameters and app defaults. more

  • app/robots.txt file, for indexing your app content by search engines. more

  • media/ includes all app assets, icons, images, etc.

  • scss/ contains SCSS base styles and all functions and mixins.

  • js/ contains all app scripts, with cabablity to use require().

SCSS

Webic uses Dart Sass new modules rules: @use and @forward to import partials. (more like import and export in JavaScript)

  • The @use rule (which represents import) loads mixins, functions, and variables from other Sass stylesheets. more

  • The @forward loads a Sass stylesheet and makes its mixins, functions, and variables available when your stylesheet is loaded in other Sass stylesheets. more

More about sass module system

For reset style:

webic uses necolas's Normalize.css in order to make browsers render all elements more consistently and in line with modern standards.

Media queries:

webic uses Akram Khalid's sass-mediaqueries SCSS breakpoints library.

example:

.foo {
 @include media(">phone", "<=tablet") {
   // your style here...
 }
}

JavaScript

Webic uses Babel to transpile ES6 code to make it compatible with older browsers.

Webic uses browserify to bundle all scripts together, by using require() to load dependencies in index.js, which the browser will execute.

License

Webic is open source project. licensed as MIT.

Credits

Copyright

© Built by Kareem Aboueid - 2022.