
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@short.io/client-node
Advanced tools
The Short.io Node.js official SDK client is a library that allows you to integrate [short.io](https://short.io) URL shortening and link management API with your Node.js application in an easy and elegant way. This SDK contains methods for working with lin
The Short.io Node.js official SDK client is a library that allows you to integrate short.io URL shortening and link management API with your Node.js application in an easy and elegant way. This SDK contains methods for working with links and domains.
See the API docs for more information.
To install the SDK, run:
npm i @short.io/client-node
First you need to get your API key from the Short.io dashboard in the Integrations & API section. Then you need to set the configuration for the client:
import { setApiKey } from "@short.io/client-node";
setApiKey("YOUR_API_KEY");
Import the needed methods from the SDK and use them in your code:
import {
getApiDomains,
getLinksExpand,
// and other needed methods
} from "@short.io/client-node";
const domainsResp = await getApiDomains();
domainsResp.data
will contain the list of domains.
const linkResp = await getLinksExpand({
client,
query: {
domain: "your_domain.com",
path: "lnk_abc123_abcde12345,
},
});
linkResp.data
will contain the expanded link.
FAQs
The Short.io Node.js official SDK client is a library that allows you to integrate [short.io](https://short.io) URL shortening and link management API with your Node.js application in an easy and elegant way. This SDK contains methods for working with lin
The npm package @short.io/client-node receives a total of 376 weekly downloads. As such, @short.io/client-node popularity was classified as not popular.
We found that @short.io/client-node 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.