yunxing / opam-npm

convert opam packages to npm
8 stars 12 forks source link

Add angstrom #23

Open cem2ran opened 7 years ago

jordwalke commented 7 years ago

Curious, have you considered using opam?

cem2ran commented 7 years ago

Do you mean opal? If so, then yes, but decided to go with angstrom after seeing the comparison table: https://github.com/inhabitedtype/angstrom#comparison-to-other-libraries

That said opal would probably be sufficient for my use case.

If you meant opam install angstrom, then yes, I've tried this but being new to ocaml/reason I'm unaware of the setup procedure. I'm getting ocamlfind: Package 'angstrom' not found, even though I add -pkg and add angstrom to _tags: PKG angstrom. This is the procedure I use when adding via npm as prescribed in the ReasonProject readme.

jordwalke commented 7 years ago

No, Opam is a native package manager with excellent support for OCaml dependencies. It doesn't yet have the npm style sandboxing workflow yet though.