2.0.1 • Published 5 years ago

@jetbrains/kotlinc-js-api v2.0.1

Weekly downloads
1,218
License
Apache-2.0
Repository
github
Last release
5 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

5 years ago

2.0.0

6 years ago

1.2.13

6 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago