Skip to content

Using npm packages on my zeppos app #329

Answered by silver-zepp
Noxde asked this question in Q&A
Discussion options

You must be logged in to vote

Our watches don't have node built-in, so it's impossible to run packages that weren't built for zos from the ground up. You have to find some alternative built in vanilla JS in order for it to work; and that alternative should be able to run in a low-ram environment, compared to xml2js.

The best bet would be to offload this to your smartphone. Run a node server with xml2js on it and communicate with it using ZML.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Noxde
Comment options

@Noxde
Comment options

@silver-zepp
Comment options

@Noxde
Comment options

Answer selected by Noxde
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