JSPM

  • Created
  • Published
  • Downloads 26
  • Score
    100M100P100Q104119F
  • License Apache-2.0

GJS TypeScript type definitions for Tracker-2.0, generated from library version 2.0.0

Package Exports

  • @girs/tracker-2.0

Readme

Tracker-2.0

GJS TypeScript type definitions for Tracker-2.0, generated from library version 2.0.0 using ts-for-gir v3.0.0-beta.12.

The libtracker-miner library is the foundation for Tracker data miners, these miners will extract metadata and insert it in SPARQL form to a TrackerSparqlConnection.

Install

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

npm install @girs/tracker-2.0

Usage

You can import this package into your project like this:

import Tracker from '@girs/tracker-2.0';

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

const Tracker = require('@girs/tracker-2.0');

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

import Tracker from 'gi://Tracker?version=2.0';

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