Idle.js icon indicating copy to clipboard operation
Idle.js copied to clipboard

ES6 and NPM packages

Open hantsy opened this issue 9 years ago • 1 comments

Hi @shawnmclean Thanks for providing IdleJS.

I am trying to integrate Idle in our applications, but I encountered some problems. We are using ES6/Webpack.

I download a copy of idle.js, when import it , none of the following are working.

import './idle';
import Idle from './idle';
import * as Idle from './idle';

Can you provide some suggestion?

BTW, I can not find this lib in NPM, it is not published to NPM?

hantsy avatar Nov 08 '16 09:11 hantsy

Yes, can this be added to npm for easier inclusion in other projects? Thx.

dietergeerts avatar Jun 05 '18 15:06 dietergeerts