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

@codehesion-za/headless

v1.0.4

Published

## Requirements

Downloads

368

Readme

Codehesion Headless Library for React

Requirements

This package has a few requirements to be used.

  • Node: >= 16
  • Formik: >= 2.2.9
  • Zod: >= 3.20.2
  • Zod-Formik-Adapter: >= 1.2.0

How to install

Run the one of the following commands to install the package

npm i -E @codehesion-za/headless
yarn add -E @codehesion-za/headless
pnpm i -E @codehesion-za/headless

To get the minimal tailwind to work you have to add the project into your tailwind.config.js content array

content: ['node_modules/@codehesion-za/headless/**/*.{js,jsx,ts,tsx}'];

Components

  • Formik Base
    • Button
    • Checkbox
    • Drop File Input
    • File Input
    • Form
    • Form Error
    • Radio Button
    • Switch
    • Text Input
  • Flat List

Hooks

  • useModal

Preview

This app is deployed to Render.com so you can view the ladle stories for the components.

Deployed to: https://react-headless.onrender.com/

Versioning

We use changeset to log changes and handle version bumps.

Logging changes

At any point during development you can run the following command:

yarn changeset

The above command will prompt the user to create a changelog entry. Once completed, a [git tracked] file will be created. A new file is added to the changeset directory each time the command is executed and completed.

Releasing a new version

Once ready to release a new version of the package, run the following command:

yarn changeset version

The above command will consume all unapplied changesets (and delete the files), updating the CHANGELOG.md file.