
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.
@neondatabase/api-client
Advanced tools
The @neondatabase/api-client
library is a wrapper for the Neon API. It provides a convenient way to interact with the Neon API using TypeScript.
You can install the library using npm
or yarn
.
npm
:
npm install @neondatabase/api-client
yarn
:
yarn add @neondatabase/api-client
To get started with the @neondatabase/api-client
library, follow these steps:
Obtain an API key from the Developer Settings page in the Neon Console.
Click Generate new API key.
Enter name for your API key and click Create.
Save your API key to a secure location that enables you to pass it to your code.
Import the library:
import { createApiClient } from '@neondatabase/api-client';
Create an instance of the API client by calling the createApiClient
function:
const apiClient = createApiClient({
apiKey: 'your-api-key',
});
Use the apiClient
instance to make API calls. For example:
const response = await apiClient.listProjects({});
console.log(response);
Since the client is based on axios
library, createApiClient
additionally accepts axios request options.
The @neondatabase/api-client
library is licensed under the MIT License. For more information, see the LICENSE file.
FAQs
Wrapper for Neon API
The npm package @neondatabase/api-client receives a total of 18,442 weekly downloads. As such, @neondatabase/api-client popularity was classified as popular.
We found that @neondatabase/api-client 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.