Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including slush-angular2 with all npm packages installed. Try it out:

var slushAngular2 = require("slush-angular2")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

slush-angular2 v1.1.0

Slush Generator For Angular2


Build Status NPM version

Simple Angular2 seed using Systemjs

Generate a project that uses angular2, gulp, systemjs, and typescript.


Install package globally (requires slush):

npm i -g slush-angular2 [slush]


Run the generator:

slush angular2 [<name>]

Compile and serve:

npm start

App is now ready on port 8080.

To manually start compiler and server:

npm start or gulp start:dev

To bundle application and serve:

npm run prod or gulp start:prod


  • index.html <-- Entry point for application.
  • gulpfile.js <-- Gulp build tasks.
  • tsconfig.json <-- Configuration for TypeScript compiler.
  • tslint.json <-- Configuration for TypeScript linter.
  • res/ <-- Shared resources.
  • src/ <-- TypeScript goes in here.
  • boot.ts <-- Strapping boots.
  • config.ts <-- SystemJS configuration.
  • app/ <-- App module, component, and routing.
  • example/ <-- Example module with components, directive, pipe, and service.
  • dist/ <-- JavaScript comes out here.


There are no guidelines for contributing. If you find a problem or have a suggestion go ahead and submit an issue.



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free