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

generator-kata

v0.0.26

Published

Quickly start doing a code kata with yeoman!

Downloads

12

Readme

generator-kata

A generator for Yeoman.

Getting Started

This generator generates a directory structure to write a kata like GameOfLife with JavaScript or CoffeeScript in TDD. The current version of this generator uses Jasmine with the BDD style to write you tests. It uses Karma as testrunner and phantom.js as browser.

To work with this template do the following steps:

  • install karma as global node module with npm install karma -g
  • install phantom.js as global node module with npm install phantomjs -g
  • all other dependencies will be automatically installed after the generator has been executed

After you've installed all required modules you just have to enter yo kata in the directory in that you'll save the files. When you enter yo kata --coffee karma will use the coffee-script preprocessor and you can use CoffeeScript as language.

  • run npm start to execute the tests with the PhantomJS Browser
  • run npm test to execute the tests with ChromeCanary or Chrome with the ability to debug your tests.

Since version 0.0.10 ES6 is supported with the 6to5 transpiler. It is integrated via a karma preprocessor. That means that all your code will automatically transpiled to ES5 code before the tests will be executed.

MIT License

Version history

  • 0.26
    • Updated dependencies (Thanks to @iliya.luzyanin for contributing)
  • 0.25
    • Fix a problem with Babel 6.0
    • Add support for Typescript
  • 0.24
    • Fix a warning with an unresovled peer dependency
    • Update versions of npm dependencies
  • 0.23
    • Use always the latest version of dependent npm modules
  • 0.22
    • Updated the version of some npm modules
  • 0.19
    • Switched from 6to5 to babel
    • Karma searches just for coffee files when user wants to use coffee.
  • 0.18
    • Add option to choose between JavaScript or CoffeeScript (Thanks to @ilkererde for his contribution)
  • 0.17
    • Fix problem with missing dependencies
    • Add option if dependencies shall automatically installed
  • 0.13
    • Name of author removed
    • Name of kata will be used for file names
    • Add some aliases for beforeEach like establish and because to clarify the sense of a code block
  • 0.10
    • Add support for ES6 via the karma 6to5 preprocessor
  • 0.09
    • Installation of Growl reporter is optional