Giter VIP home page Giter VIP logo

hxnodelibs's Introduction

hxnodelibs

Haxe NodeLibs

Overview

Extern type definitions for the most common Node.JS Libraries like:

  • mongodb
  • express
  • multiparty
  • nodewebkit

Haxe-generated API documentation is available at []

Original node.js documentation can be found at http://nodejs.org/api/index.html.

Features

  • TBD

Example

  • TBD

Status

This library is currently WIP.

Requires Haxe 3.2RC1 or later (builds available at http://builds.haxe.org/)

hxnodelibs's People

Contributors

andyli avatar delahee avatar dionjwa avatar eduardo-costa avatar gama11 avatar nadako avatar simn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hxnodelibs's Issues

`haxe build.hxml` fails, requires importing hxnodejs.

On current master, when I try:

haxe build.hxml

it fails with:

js/npm/tarstream/TarStream.hx:10: characters 7-21 : Type not found : js.node.Buffer

That is an npm extern that I added. It fails because the haxelib hxnodejs is not imported in the build.hxml. I'm surprised that importing e.g. Buffer hasn't been required up until now. Am I misunderstanding something?

Request to be a contributor

Hi. I'd like to become a contributor so I can help with PR reviews, since I will be regularly submitting PRs myself.

package naming and file placing

Now when hxnodejs is finally released, we can discuss a bit about this extern collection.

I don't like how it's currently done here using js.node as a prefix package since it may introduce conflicts with core node modules added at some time, also I don't like the fact that one can't easily say which is node API and which is a npm module.

@clemos uses js.npm prefix which I think is better, but I don't quite like that different externs (of different quaility and by different authors) are placed in one root - it gets messy when there are lots of them, IMO.

I wonder if we can/should use separate source paths for different npm externs and somehow still be able to just do -lib hxnodelibs and then simply import js.npm.Whatever. Maybe with macro that adds class paths and is executed in extraParams.hxml?

That way extern authors can also provide README's, tests, examples, etc.

Thoughts? @clemos @ncannasse @andyli @dionjwa @fponticelli @eduardo-costa @tong @back2dos (please cc anyone i forgot)

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.