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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@onextech/nova

v0.2.1

Published

Powered by One X Tech

Readme

Nova

Features

  • React with TypeScript support
  • Rollup for bundling (with a customizable bundler config file)
  • Babel for transpiling
  • Storybook for development and component explorer
  • SVGR support
  • Linting before commit support with ESLint, Husky and Lint Staged
  • Supports CSS modules configurable with PostCSS
  • Supports CJS, ESM and UMD formats
  • Sourcemap creation

Introduction

Nova is an opinionated library for building modern web applications.

Modern

Assembled in 2022, Nova is a ESM library, supporting tree-shaking by default.

Why

We spend too much time recreating the same components across libraries.

Stack

Nova builds on top the following open-source technologies:

  1. React
  2. MUI
  3. Next
  4. Supabase

Peer Dependencies

Nova ships with the following key dependencies which are only injected into your app's bundle size if you use the respective modules thanks to tree-shaking.

Kindly install the following dependencies in your downstream app when using the following modules in the chart below:

Form

yarn add react-hook-form react-hot-toast react-quill react-number-format

// CSS
import 'react-quill/dist/quill.snow.css'

Other Requirements

  1. In app, add <Toaster position="top-right" reverseOrder={false} /> inside <ThemeProvider> in _app.tsx

Storage

yarn add @supabase/supabase-auth-helpers

Auth

yarn add @supabase/supabase-auth-helpers

Other requirements

  1. Add the following to pages/api/auth/[...supabase].js
import { handleAuth } from '@supabase/supabase-auth-helpers/nextjs'
export default handleAuth()
  1. Add the following to _app.tsx inside the ThemeProvider
import { AuthProvider } from '@onextech/nova/auth'

Usage

  1. Add the following to pages you need to guard
import { withAuthRequired } from '@supabase/supabase-auth-helpers/nextjs'

export const getServerSideProps = withAuthRequired()

CMS

yarn add @supabase/supabase-auth-helpers ag-grid-react ag-grid-community ag-grid-enterprise react-quill react-query

Other requirements

  1. Install deps from form, auth, storage
  2. Add the following css to your _app.tsx
// CSS
import 'ag-grid-community/dist/styles/ag-grid.css'
import 'ag-grid-community/dist/styles/ag-theme-alpine.css'

Supabase Installation

  1. Add NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY to your app's .env file like so:
NEXT_PUBLIC_SUPABASE_URL=http://localhost:6006
NEXT_PUBLIC_SUPABASE_ANON_KEY=MOCK

Architecture

/auth
  // login
  // resetpwd
  // auth provider
/cms
  // crudtable // ag-grid
  // crudlist
  // crudedit
  // crudupdate
/ui
  // Box
  // Stack
/landing
  // Block
/form
  // TextField
  // ControlledTextField
/storage
  // StorageAvatar
  // StorageFileDropzone
/utils
  // printNumber
/config
  // styleConfig

Usage

import { Button, Alert, Box } from '@onextech/nova/ui'
import { printNumber } from '@onextech/nova/utils'

Authoring

Building and Publishing Local Changes

Always publish from within dist folder as we don't want to have an extra dist wrapper in the import path. The following is a command you should run from the lib root locally to have your changes deployed:

yarn build; cp package.json dist; cd dist; yalc push; ../

Yalc

Running yarn install in your app breaks yalc

Install new dependencies in your downstream app to an existing yalc connected library locally breaks ccth

Legacy

Components that need to be migrated

  • [ ] TextField
  • [ ] PageHeader

Development

Clone this repo and run the following commands to start development with Storybook.

yarn install
yarn storybook

Go to localhost:6006 and you should see something like this.

storybook-dev

Building

To build your project, run yarn build.

Publishing

This builds commonjs, esm, and umd versions of your module to dist/ and then publishes your module to npm. Make sure that any npm modules you want as peer dependencies are properly marked as peerDependencies in package.json. The rollup config will automatically recognize them as peers and not try to bundle them in your module.

Source

react-library-starter by Rhaidzsal Ali ⚡ A library starter kit and bundler for your React projects, powered by Rollup.

License

GPL-3.0