You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
winnekes 337a539b4b Update readme and reference to package 3 months ago
bin TSC 3 months ago
doc Docs: remove generated output from sample files 3 months ago
images Update documentation 5 years ago
lib TSC 3 months ago
.eslintrc.js TSC 3 months ago
.gitignore Dev: remove lock-file 3 months ago
.npmignore gitignore: Don't track yarn.lock 5 years ago
AUTHORS Docs: add self as author 3 months ago
CONTRIBUTING.md Update documentation 5 years ago
LICENSE Implement `object_info_request` 7 years ago
README.md Update README.md 6 months ago
package.json Dev: update dev scripts 3 months ago
tsconfig.json TSC 3 months ago

README.md

ITypescript

ITypescript is an npm package that implements a TypeScript kernel for the Jupyter notebook, as a modification of IJavascript kernel. A Jupyter notebook combines the creation of rich-text documents (including equations, graphs and videos) with the execution of code in a number of programming languages.

The execution of code is carried out by means of a kernel that implements the IPython/Jupyter messaging protocol. There are kernels available for Python, Julia, Ruby, Haskell and many other languages.

Again, We have to emphasize these code is originally come from IJavascript kernel. We converted the code into typescript, and modified tiny fraction of it.

Main Features

  • Run TypeScript code within a node.js session

Following examples are translation of IJavascript's examples, from javascript to typescript.

Installations

Prerequisites

If you're using Typescript, you should install node.js first. Follow the instruction of Node.js Download page or Node.js Installation page.

Also, you have to install jupyter. Follow the instruction of Installing Jupyter notebook.

Stand-alone

After installing these, install ITypescript by typing following shell command (Linux/Unix/Mac):

sudo -H npm install -g itypescript

For windows, find node.js prompt, run it as administrator, and type:

npm install -g itypescript

Jupyter Kernel

You can install itypescript kernel globally with the following command:

sudo -H its --install=global

Or you can install it locally:

its --install=local

For further usage, check usage.md

Contributions

First of all, thank you for taking the time to contribute. Please, read CONTRIBUTING and use the issue tracker for any contributions: support requests, bug reports, enhancement requests, pull requests, submission of tutorials...