New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

verdantly

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verdantly

Node.js client for accessing plant species and variety data from the Verdantly API

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Verdantly Node.js Client

The official Node.js client for accessing plant variety and species data from the Verdantly API.

Installation

npm install verdantly

Getting Started

You'll need a valid API key from RapidAPI.

import { VerdantlyClient } from 'verdantly';

const client = new VerdantlyClient({ apiKey: 'your-api-key' });

Example Usage

const results = await client.searchPlantVarietiesByFilter({
  category: "fruit",
  waterRequirement: "low"
});

for (const plant of results.data) {
  console.log(plant.name);
}

More examples available in examples/starter.

Supported Endpoints

  • searchPlantVarietiesByName(query: string, page?: number)
  • searchPlantVarietiesByFilter(filters: object, page?: number)
  • searchPlantSpeciesByName(query: string, page?: number)
  • searchPlantSpeciesByFilter(filters: object, page?: number)

TypeScript Support

All client responses are fully typed, with built-in TypeScript definitions included in the package.

Project Structure

  • src/ — client source code
  • examples/starter/ — starter project
  • dist/ — compiled output (after build)

License

MIT © Verdantly

Keywords

verdantly

FAQs

Package last updated on 26 Mar 2025

Did you know?

Socket

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.

Install

Related posts