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

cody-cli

v0.0.12

Published

Frontend web development server for modern web apps

Downloads

34

Readme

Cody CLI

Cody is a command line utility designed to help web development at the beginning of the developer's career. Cody takes care of the environment and let you focus on the code.

Stories in Ready ![Backlog](https://badge.waffle.io/PoliteJS/cody-cli.svg?label=in%20progress&title=In Progress)

Why?

Setting up a simple server (NIGIX, Apache) it's a difficult business, setting > up Grunt / Gulp to transpile LESS or SASS is even more difficult (especially if you don't know Javascript). Put the pieces together with tools like Webpack or Browserify it is simply impossible to the beginner.

I think those guys need a tool that allows them focus on getting an Hello World done, not getting the exercise being executed on their machine!

Features

  • run your html through a local HTTP server
  • transparent transpilers:
    • write CSS, Less or Sass
    • write ES6 or even ES7*
    • use ES6 modules* to include Javascript into Javascript
  • get code hints for Javascript, CSS, Less*, Sass*

(*) to be done

Install & Run

Cody comes as a globally available command line tool which you install with NodeJS:

npm install -g cody-cli

Once it is installed you can easily bootstrap a new web project:

// setup a new empty folder
mkdir my-web-project
cd my-web-project

// this run the magic!
cody 

You project will be available at http://localhost:8080 immediately, and every change in your project's folder will be reflected in the server.

Less & Sass

Cody is able to understand less and sass:

foo.less -> foo.less.css
foo.scss -> foo.scss.css

All your transpiled code supports sourcemaps out of the box!

When you use CSS frameworks (or utilities packages) from NPM or Bower you can import those modules by name omitting the package directory:

// Sass
@import "bootstrap/scss/bootstrap"

ES2015

Use the .jsx extension to access all the es2015 and react presets for Babel.

All your transpiled code supports sourcemaps out of the box!

Live Updates

.less, .sass and .jsx files are transpiled automatically every time you save them. You just need to refresh your browser window.

Assets

All the files inside the folders listed below are made available to the running server without any transformation:

  • assets/
  • images/
  • fonts/