Closed ymolists closed 2 years ago
what is @releaseband
? that's not an npm namespace I'm familiar with. If you want to include this package you would do:
npm install ecs
And then import it normally:
import ecs from 'ecs'
My Bad. Github confused me by showing all the projects that are using ecs. That list is probably wrong.
My next question is that i am using type script. Is this library importable in typescript as you mentioned above ? Maybe a little blurb about how importing it would work or maybe pointing to a project that already imports this library would be amazing to add a link if such project exists.
Tl;Dr; i am stuck trying to import it in typescript now :-) Also i cant thank you enough for your prompt responses !!!
My Bad. Github confused me by showing all the projects that are using ecs.
All good, happy to help!
Is this library importable in typescript
I'm not sure, I don't use typescript.
Also i cant thank you enough for your prompt responses !
My pleasure! Sorry I can't be much help with the typescript aspects of your issue.
This is mostly because i am a newbie in js development. My assumption is that @releaseband/ecs is not published to npm (yet) ? When i tried
yarn add @releaseband/ecs
if failed miserably :-)I noticed that this repo has it in its package.json file. I am wondering how they are able to do that ? i also tried with yarn link/unlink but was wondering if there is a correct way of doing it.
Would you kindly consider putting a link or a small description in the README of the correct way to import this ecs package into a module based application.
Thank you.