Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slush-node-typescript

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slush-node-typescript

A slush generator for Node.js and TypeScript.

  • 0.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

slush-node-typescript

A slush generator for Node.js and TypeScript.

Getting Started

Installation

Install slush-node-typescript globally:

$ npm i -g slush-node-typescript

Remember to install slush globally as well, if you haven't already:

$ npm i -g slush

Usage

Create a new folder for your node esnext package. Then cd into it.

$ mkdir node-typescript-package && cd node-typescript-package

Initiate the generator:

$ slush node-typescript

Tasks

generate
$ slush node-typescript:generate foo/bar

Will generate src/foo/bar.ts and test/src/foo/bar_test.ts to your package.

Conventions

The generator expects a few conventions. They are easy to change if they are not suitable.

  • Source code for your npm package is in the src directory.
  • Test code is in the test directory.
  • Compiled JavaScript code is outputed to the lib directory.
  • The package main module is located at lib/{packageName}.js.

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.

License

MIT

Keywords

FAQs

Package last updated on 22 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc