Skip to content

How do I add a regular TS package to a project? #617

Closed Answered by pelikhan
jordanskole asked this question in Q&A
Discussion options

You must be logged in to vote

Yes currently this is correct. It is most likely that the libraries you are trying to use will be slightly incompatible; or too big and just not adapter to run on embedded. Therefore, -- for now --, we require people to import "devicescript - optimzied" libraries. It's a bit of a hassle and maybe it could be relaxed but it is what it is at this point.

Code size, memory usage, ... are all concerns that are very much more important on embedded than in the browser/node.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pelikhan
Comment options

Answer selected by jordanskole
Comment options

You must be logged in to vote
1 reply
@pelikhan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants