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

codenote

v0.2.4

Published

Interactive JavaScript notebooks packaged neatly

Downloads

30

Readme

CODENOTE

Neatly packaged interactive JavaScript notebooks npm

See the Introduction to CodeNote here

Usage

Codenote is a tool designed for the command line, so let's start there. To install codenote:
npm install --global codenote
CodeNote is installed!

Let's use it. We need a markdown file to target, so we can make one.
codenote md filename

This creates filename.md.
With our .md file in hand, we do some writing.
Write, write, write.
Eventually, we're ready to share.
To turn our simple .md file into a glorious CodeNote .html:
codenote html myfile.md
This will generate our .html file, ready for static publishing.
Load it up in your browser! ^_^


Past this point it's a little speculative, the code may not exist yet.

The most complex mode is LIVE mode. Invoke live mode thusly:

codenote live yourfile.md

This will put CodeNote into LIVE mode. CodeNote will generate a yourfile.html file from yourfile.md, and load yourfile.html in your browser, and place a live watch on yourfile.md for changes. This means if you make changes and save them to yourfile.md while LIVE mode is active, CodeNote will see that yourfile.md changed, rebuild a fresh .html, and reload the browser.

The final mode for CodeNote is not implemented, but it's codenote publish :)

This repo has not fully removed the kajero stuff, but I want to get the namespace now. I'll put this up now and clean it up as we go along. Nothing here isn't already public - it's here because I cloned it from Kajero! Kajero means 'notebook' in Esperanto :)

npm Maybe I should have a gitter too? People can just email me...

Right now it's supposed to be like: codenote html ./sdf.md (cmd.js) and it generates the .html in the folder you called codenote in, pwd.

FORKED FROM Kajero

You can view a sample notebook here.

Installation

npm install -g kajero, or clone this repository.

You can build the JS library by running npm install, followed by gulp. For a production build, NODE_ENV=production gulp.