Code Monkey home page Code Monkey logo

typescript-for-node's Introduction

TypeScript for Node.js Develpment

This project contains the presentation and sample code for my "TypeScript for Node.js" session at Connect.Tech.

To get full details, including a related video walk through and description of the presentation, read the TypeScript for Node.js blog post.

Run the Presentation or view it as a PDF.

Examples

The Examples folder contains a simple project to illustrate various TypeScript features. The examples are best viewed from an IDE like Visual Studio Code for development-time feedback. You can:

npm run-script tsc builds JavaScript files from the examples.

node 001-types runs the first example.

npm run-script tsc:w builds and watches, useful for commenting/uncommenting code to walk through the example.

npm run-script tsc:es6 builds for ECMAScript 2015 to illustrate differences in output despite the same TypeScript source.

TypeScriptProject

This is a very simple project to show basic setup for Node.js development.

npm run-script build to build it.

node lib/main to run it. You should see some colorful cats.

@JeremyLikness

Snippets to build yourself

Copy the TypeScript-NodeJs-Snippets folder and paste it into the Visual Studio Code Extensions folder to install the JavaScript snippets for this demo. Depending on your platform it is located:

  • Windows: %USERPROFILE%\.vscode\extensions
  • Mac: $HOME/.vscode/extensions
  • Linux: $HOME/.vscode/extensions

typescript-for-node's People

Contributors

jeremylikness avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.