JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q24254F
  • License MIT

Transpile HaLang to Javascript.

Package Exports

  • hatp

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hatp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hatp

Build Status

The transpiler which transpile HaLang to Javascript. Currently not for prod.

Usage

This package exports a convert function as default.

import convert from 'hatp';
convert(`很惭愧 这是注释`);

You can also use this package in CLI:

$ hatp -o built/
测试.ha -> built/测试.js

See more CLI info by hatp -h.