Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make script usable via NPM #2

Open
3 tasks
giocodes opened this issue Aug 12, 2019 · 3 comments
Open
3 tasks

Make script usable via NPM #2

giocodes opened this issue Aug 12, 2019 · 3 comments

Comments

@giocodes
Copy link

giocodes commented Aug 12, 2019

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 :)

@EdernClemente
Copy link
Owner

EdernClemente commented Dec 26, 2019

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

@Alucard17
Copy link

@EdernClemente Can I take this issue.

@EdernClemente
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants