npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@postiva/client

v0.0.41

Published

A comprehensive library for managing and retrieving content within your applications, @postiva/client streamlines your interaction with the Postiva platform, ensuring your content is always current and easily accessible.

Downloads

78

Readme

@postiva/client

Easily manage and retrieve content within your applications with @postiva/client, a powerful library that simplifies interactions with the Postiva platform. Keep your content up-to-date and accessible with our simple API.

For detailed API documentation and more examples, visit our official documentation.

npm version GitHub license

Features

  • Effortless Content Management: Seamlessly fetch and manage content within your application.
  • Pagination Support: Handle large datasets effectively with built-in pagination support.
  • REST API Support: Integrate your blog seamlessly into any tech stack with REST API support.
  • TypeScript Support: Enjoy type safety and autocompletion with TypeScript support.
  • Statistics: Get insights into your content's performance and engagement. (views, claps, likes)

Installation

You can install @postiva/client via npm, yarn, or pnpm:

npm install @postiva/client

Usage

To start using @postiva/client in your project, initialize the client by providing your workspace ID and API key:

import { createClient } = from "@postiva/client"

// Initialize Postiva Client
export const postivaClient = createClient({
  workspaceId: process.env.NEXT_PUBLIC_WORKSPACE_ID,
  apiKey: process.env.NEXT_PUBLIC_POSTIVA_API_KEY
});

Rest API Documentation

The REST API documentation for @postiva/client has been automatically generated by Bruno. Please refer to REST API Documentation for details.

Contributing

Contributions to @postiva/client are welcome! If you have ideas for improvements, found a bug, or want to contribute new features, please check out our contribution guidelines and code of conduct before opening an issue or submitting a pull request.

Contributors

Thank you for your contributions! We appreciate all the contributions from the community.

License

@postiva/client is available under the MIT License. For more details, see the LICENSE file.