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

tsun

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsun - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

bin/tsun

9

package.json
{
"name": "tsun",
"version": "0.0.1",
"description": "typescript enhanced, a node-like binary",
"bin": "./bin/tse",
"version": "0.0.2",
"description": "TSUN: a repl for TypeScript Upgraded Node",
"bin": "./bin/tsun",
"dependencies": {
"optimist": "^0.6.1",
"temp": "^0.8.1",
"typescript": "^1.5.0-alpha"
},
"scripts": {
"prepublish": "tsc -m commonjs --outdir ./bin tse.ts"
"prepublish": "tsc -m commonjs --outdir ./bin tsun.ts"
},

@@ -13,0 +14,0 @@ "keywords": [

# TSUN - TypeScript Upgraded Node
It supports a node like repl for TypeScript.
TSUN, a TypeScript Upgraded Node, supports a REPL and interpreter for TypeScript.
Feature:
===
* TS 1.5 support
* Tab-completion support
* directly execute TypeScript application like `node`
Install:
`npm install -g tsun`
===
`npm install -g tsun`
Usage:
====
* Use it as repl: `tsun`
* Use it as interpreter: `tsun path/to/app.ts`
Note:
===
When used as interpreter, tsun will create a temporary directory as output directory and create a node process to execute compiled js.
So it is usually a problem to correctly resolve `node_modules` path or definition file like `*.d.ts`.
Currently, tsun make two symbolic links for `node_modules` and `typings` directories in temporary directory, conventionally.
Custom definition files and JavaScript library support will be added in next releases.
TODO:
===
* Add customization
* Add tsun config
* Add dere mode

Sorry, the diff of this file is not supported yet

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