JSPM

  • Created
  • Published
  • Downloads 26
  • Score
    100M100P100Q63998F
  • License MIT

Node.js TypeScript type definitions for Champlain-0.12, generated from library version 0.12.22

Package Exports

  • @girs/node-champlain-0.12

Readme

Champlain-0.12

Node.js TypeScript type definitions for Champlain-0.12, generated from library version 0.12.22 using ts-for-gir v3.0.0-beta.13.

Libchamplain is a C library providing a ClutterActor to display maps.

Install

To use this type definitions, install them with NPM like this:

npm install @girs/node-champlain-0.12

Usage

You can import this package into your project like this:

import Champlain from '@girs/champlain-0.12';

Or if you prefer CommonJS, you can also use this:

const Champlain = require('@girs/champlain-0.12');

If you use ambient modules, you can also import this module like you would do this in JavaScript:

const gi = require('node-gtk')
const Champlain = gi.require('Champlain', '0.12')

Depending on your project configuration, it is recommended to use a bundler like esbuild. You can find examples using different bundlers here.