
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@fermyon/spin-sdk
Advanced tools
This is an SDK for Javascript and Typescript based on [ComponentizeJS](https://github.com/bytecodealliance/ComponentizeJS).
This is an SDK for Javascript and Typescript based on ComponentizeJS.
Note that this SDK supersedes an earlier, experimental version, which may be found in the sdk-v1 branch.
Spin is a prerequisite.
The templates can be installed with the following command:
spin templates install --update --git https://github.com/fermyon/spin-js-sdk
Create a new app from the template installed in the previous step:
spin new -t http-ts hello-world -a
Change directory into the app:
cd hello-world
Install the dependencies and build the app:
npm install
spin build
spin up
Finally, you can test your app using e.g. curl
in another terminal:
curl -i http://127.0.0.1:3000
If all goes well, you should see something like:
HTTP/1.1 200 OK
content-type: text/plain
content-length: 14
date: Thu, 11 Apr 2024 17:42:31 GMT
hello universe
Please file an issue if you have any trouble.
See the examples directory in the repository for more examples.
To learn more about the JS SDK checkout the documentation
FAQs
This is an SDK for Javascript and Typescript based on [ComponentizeJS](https://github.com/bytecodealliance/ComponentizeJS).
The npm package @fermyon/spin-sdk receives a total of 15 weekly downloads. As such, @fermyon/spin-sdk popularity was classified as not popular.
We found that @fermyon/spin-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.