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

smartfront

v0.2.2

Published

Smartfront setup and diagnostics CLI

Readme

smartfront CLI

Non-destructive Smartfront setup assistance. This package has no old SDK compatibility exports; install @smartfront/react, @smartfront/vue or @smartfront/angular for SDK integration.

React, Vue and Angular starters include a styled floating Ask Smartfront launcher and the complete SmartChatPanel: conversation history, starter prompts, send/stop controls, operation results, parameter forms and confirmations. The widget fits smaller screens, supports light/dark themes and keeps the draft and conversation when closed. Escape closes it and returns focus to the launcher.

Customize src/smartfront/smartfront.ui.ts for the title, launcher text and theme, or edit smartfront.css for appearance and positioning. The generated framework component is yours to change. Use SmartChat or the headless chat hooks when building a fully custom UI instead.

npx smartfront init        # detect framework/manager, preview files/install command, ask before applying
npx smartfront init --dry-run # preview without writing or installing
npx smartfront init --yes --integrate # authorize scaffolding/install and recognized React bootstrap
npx smartfront init --yes --skip-install # scaffold without dependency installation
npx smartfront init --package-manager npm # choose a manager explicitly
npx smartfront doctor     # check framework/adapter dependency presence

Run inside an application's directory containing package.json. Init creates src/smartfront/smartfront.config.ts, modules/example.smartfront.ts, a framework-native chat integration component and smartfront.setup.md. Existing generated paths are never overwritten. It installs missing core/adapter packages using npm, pnpm, yarn or bun according to the manifest/lockfiles, after approval. --package-manager npm|pnpm|yarn|bun overrides detection, including a declared packageManager field. When several lockfiles exist, detection checks pnpm, yarn and bun before defaulting to npm; choose explicitly if a retained lockfile does not match your current workflow.

Before asking to apply a plan that needs dependencies, init checks that the chosen manager runs. If it is unavailable, init explains how to select another manager or use --skip-install; it does not write files or switch managers automatically. --dry-run and --skip-install work without the detected manager being installed.

--integrate updates only a recognized React src/main.tsx, showing its result first; Vue, Angular and other entry shapes receive manual instructions. Existing stores/services are not modified and functions are not discovered automatically. Doctor checks dependency presence; deeper Provider/endpoint/authentication validation is not implemented. Public npx/install requires these packages to be published; this repository's verification installs local tarballs.

Workspace build/test: npm run build -w smartfront, npm run test -w smartfront.