![Understanding the Security Concerns of npm Shrinkwrap](https://cdn.sanity.io/images/cgdhsj6q/production/37156cfb4523f411022d98b3b06138985ac81496-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Understanding the Security Concerns of npm Shrinkwrap
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
libsql-stateless
Advanced tools
Readme
Thin libSQL stateless HTTP driver for TypeScript and JavaScript for the edge 🚀
Hrana v3 HTTP
protocol from scratch, and has no classes (tend to duplicate memory and/or perform long memory traversals).@libsql/client/web
, every function performs complete execution in exactly 1 roundtrip.@libsql/client/web
transactions
are supported.libsql-stateless
is raw and explicit for reducing (computational and memory) overheads.* The actual js that is included with your project. (Excluding the type definitions and 2 copies of the main js for esm and cjs. (because you're gonna use one of them))
For easier DX, consider using libsql-stateless-easy
instead: it, however, comes with the cost of non-zero-dependency and (computational and memory) overheads potentially unneeded by you. But is still very very very slim compared to @libsql/client
.
@libsql/client/web
?@libsql/client/web
does a lot of, I'd argue unnecessary, computation under the hood.$ npm i libsql-stateless #pnpm, yarn, etc.
# or
$ bun add libsql-stateless
WIKI
for Specifications and ExamplesNOTE: <unix_epoch_miliseconds>-HRANA_3_SPEC.md is the current API level.
Downloaded from: https://github.com/tursodatabase/libsql/blob/main/docs/HRANA_3_SPEC.md at <unix_epoch_miliseconds>.
Servers using older API levels may not be compatible. In that case downgrade to an earlier of this package.
FAQs
thin libSQL stateless http driver for TypeScript and JavaScript
The npm package libsql-stateless receives a total of 5,048,692 weekly downloads. As such, libsql-stateless popularity was classified as popular.
We found that libsql-stateless demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
Security News
Node.js is taking steps towards removing Corepack from its distribution, aiming for changes in the next major release.
Security News
OpenSSF has released a guide to help package repositories adopt Trusted Publishers, which enhances security by using short-lived identity tokens for authentication, reducing the risks associated with long-lived secrets.