TypeLighterJS-Typewriter icon indicating copy to clipboard operation
TypeLighterJS-Typewriter copied to clipboard

Make script usable via NPM

Open giocodes opened this issue 5 years ago • 3 comments

Here are some suggestions after looking at https://www.npmjs.com/package/typelighterjs

  • [ ] Add a package.json to TypeLighterJS repo, so npm updates the information correctly.
  • [ ] Export Typewriter and addCssCursor, so they can be called as needed, instead of added to the global scope.
  • [ ] Update the docs to show how to install/use from NPM

@EdernClemente in case it helps, I suggest taking a look at this free course: https://egghead.io/lessons/javascript-introduction-to-how-to-write-an-open-source-javascript-library

If you want to provide users the flexibility, to also use the script on a browser directly see: https://egghead.io/lessons/javascript-add-a-browser-build-to-an-npm-module

I'm also happy to help with any questions or contributions :)

giocodes avatar Aug 12 '19 17:08 giocodes

Hi @giocodes, I’m working a lot this year. I deal with it the next summer. Thanks for your comment 🙂

EdernClemente avatar Dec 26 '19 09:12 EdernClemente

@EdernClemente Can I take this issue.

Alucard17 avatar Sep 05 '20 08:09 Alucard17

Hello @Alucard17 ! Yes you can, I don’t have time right now

EdernClemente avatar Sep 06 '20 21:09 EdernClemente