2.0.1 • Published 4 years ago

@jetbrains/kotlinc-js-api v2.0.1

Weekly downloads
1,218
License
Apache-2.0
Repository
github
Last release
4 years ago

kotlinc-js-api

This package provides JavaScript APIs for calling the Kotlin to JavaScript compiler.

Installation

npm i @jetbrains/kotlinc-js-api --save

Usage

const kotlinCompiler = require('@jetbrains/kotlinc-js-api');

kotlinCompiler
  .compile({
    output: './build/dist.js',
    sources: [__dirname + '/src'],
    sourceMaps: true,
    moduleKind: 'commonjs',
    libraries: [
      'path/to/some.meta.js',
    ]
  })
  .then(() => console.log('Compilation successful'));
2.0.1

4 years ago

2.0.0

5 years ago

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago