Implementing the Pondjs library into my project seemed straightforward at first:
meteor npm install --save pondjs
However, I'm encountering difficulties when trying to integrate it with my Typescript files.
The documentation suggests:
In order to use Pondjs within a browser environment, you must install it using npm and then build your source code with Webpack, Browserify, or an equivalent tool.
Unfortunately, due to my usage of (Angular2-)Meteor, utilizing Webpack or Browserify is not an option for me.
I attempted importing it as shown below:
import 'pondjs'; // no errors upon import
declare var Index: any;
let index = new Index("1d-12345"); // however, it results in: Can't find variable: Index
Additionally:
import * as something from 'pondjs'; // error message: cannot find module 'pondjs'