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 🙏

© 2026 – Pkg Stats / Ryan Hefner

nano-typescript

v0.0.5

Published

Super fast and lightweight 2D graphics library for TypeScript

Readme

Nano TypeScript

CircleCI

About

Nano is a lightweight, fast & feature rich 2D graphics framework for HTML5 Canvas. A clean and simple API is ideal for progressive mobile features and high performance. This means that your games and applications will be both fast and mobile compatible.

Pre-requisites

Nano is built on modern HTML5 web technologies. The following software is required to get started.

Node.js

Node.js is a runtime envorinment that will allow you to run JavaScript outside of your browser. Node.js comes with npm as its built-in package manager. Nano uses npm to download all of its code dependencies.

Visual Studio Code

Whilst a variety of IDEs can be used to write Nano games and apps, we will use Visual Studio Code as it is FREE and very simple to get started with. Visual Studio Code is a development environment that is used to write your game or application code.

Git

Git is a decentralized version control system. Nano uses GitHub to store the Nano codebase. You will require a Git client to download the Nano project source code.

Windows users should also consider downloading Git bash. Git bash is a terminal simulator that allows users of UNIX or Linux style environments to run command-line operations.

Getting started

Once you have installed all of the software listed above, we must clone the Nano code onto your computer. Using your terminal or Git bash, navigate to the folder where you would like to store your project and enter the following:

git clone https://github.com/PluginIO/nano-typescript.git

This should now start the download process of the Nano codebase. If you require more information about terminal or Git bash, you can find complete documentation on the websites above.

Start Your IDE

It's time to open Visual Studio Code. Once open, you can select: open folder... in the start menu. Navigate to the folder where you cloned Nano and select open. The Nano project is now ready for you to pull the code dependencies. You will be able to navigate to the source code by locating the src folder.

Dependencies

We already downloaded and installed Node.js which includes the node package manager npm. We can open a terminal window in Visual Studio Code, Terminal -> New Terminal from the Menu bar. In this terminal window we can now run our first npm command:

npm install

This should start downloading all of the dependencies that are required by the Nano library.

Build Steps

The code is now ready to build. We already provided a few build instructions that use the webpack build tool. You can find out more information about webpack at: https://webpack.js.org/

Developement Build

To run a development build, we simply run the following instruction in the terminal:

npm run dev

You can now navigate to http://127.0.0.1:3000 in your browser. All being well you should see a sample of the Nano engine running in your browser. You can make changes to the source code and your changes will be reflected automatically upon saving.

Release Build

To create a release build, you may run the following build instruction in your terminal

npm run release

This build instruction will package and minify the code so that the final file size is optimal. The resultant JavaScript code will be emitted into the release folder.

Desktop Build

We have provided the ability to run Nano projects as desktop applications for Windows, MacOS and Linux using the Electron library. To make a desktop build run:

npm run desktop

Unit tests

Also included is a suite of unit tests. Unit tests allow for the automation of testing and can catch issues before deployment. You can run the suite of unit tests with:

npm run test

Many Thanks

Thank you for checking out Nano TypeScript. We are super excited to see the amazing HTML5 games and apps that you build and we hope to showcase them here. Please let us know about your projects. :)