🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

generic-typescript-require

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generic-typescript-require

transparently require() typescript 1.4+ or jsx-typescript from node

0.1.1
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

generic-typescript-require

transparently require() typescript 1.4+ or jsx-typescript from node

Heavily inspired by Pete Hunt's node-jsx

Usage

Default

require('generic-typescript-require').install()

Other options

> npm install --save jsx-typescript

// app.js
require('generic-typescript-require')
  .install({ compiler: 'jsx-typescript', extension: '.tsx'})

FAQs

Package last updated on 09 Mar 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