Socket
Socket
Sign inDemoInstall

nodejs.jsx

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nodejs.jsx

node.js binding for JSX


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
85.5 kB
Created
Weekly downloads
 

Readme

Source

nodejs.jsx - node.js binding for JSX

Usage

$ cat > package.json
{
  "dependencies": {
    "nodejs.jsx": "~ 0.1.1"
  }
}
^D
$ npm install
$ cat > myapp.jsx
import "nodejs.jsx/*.jsx";

class _Main {
    static main(args : string[]) : void {
        log "hello node.js!";
    }
}
^D
$ jsx myapp.jsx

Notes to Committers

Please feel free to contact Kazuho if you are still not sure how you should add bindings after reading the rules below.

  • file layout should be the same as node.js
    • e.g. definitions in the fs module should be bound to nodejs/fs.jsx
  • preloaded globals should go into nodejs.jsx
    • e.g. the process and module objects
  • inheritance at the binding level should reflect those of the node.js implementation -- e.g. stream.Writable is a sub-class of stream.Readable (not stream.Writable)

Keywords

FAQs

Last updated on 04 Jun 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc