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

@xosue-utils/inputs

v0.1.13

Published

Angular standalone form inputs (text, select, date, media, rich-text, ...) shared across apps.

Readme

@xosue-utils/inputs

Librería Angular 19 de inputs standalone (text, select, date, media, rich-text, …), extraída de Caludy.

Estructura

inputs/
  package.json          # manifiesto npm
  ng-package.json       # build con ng-packagr
  src/
    public-api.ts       # API pública
    config/             # provideXosueUtilsInputs / media adapters
    lib/                # componentes de input
    vendor/             # lucide-icon, field-help-tooltip, context-menu, pipes…

Requisitos del host

En app.config.ts (o main):

import {
  provideXosueUtilsInputs,
  provideXosueUtilsMedia,
  ContextMenuServiceComponent,
} from '@xosue-utils/inputs';
import { environment } from './enviroments/environment';
import { AuthService } from './core/services/auth.service';
import { MediaPreviewService } from '...';
import { MediaViewerService } from '...';

export const appConfig = {
  providers: [
    ...provideXosueUtilsInputs({
      apiUrl: environment.apiUrl,
      getAuthToken: () => inject(AuthService).getToken(), // o closure con tu auth
    }),
    // Solo si usas <media-entry>
    ...provideXosueUtilsMedia({
      preview: inject(MediaPreviewService),
      viewer: inject(MediaViewerService),
    }),
  ],
};

Montá el overlay de context-menu una vez (field-help):

<context-menu-service></context-menu-service>

Desarrollo local (sin publicar)

En el package.json de tu app:

"dependencies": {
  "@xosue-utils/inputs": "file:../xosue-utils/inputs"
}

O en tsconfig.json (path mapping sin build):

"paths": {
  "@xosue-utils/inputs": ["../xosue-utils/inputs/src/public-api.ts"],
  "@xosue-utils/inputs/*": ["../xosue-utils/inputs/src/*"]
}

Build del paquete

cd D:\apps\xosue-utils\inputs
npm install
npm run build

La salida queda en dist/ lista para publicar.

Cómo subirla a npm (librería oficial)

1) Cuenta y scope

  1. Creá cuenta en https://www.npmjs.com/signup
  2. Verificá el email
  3. Creá una organización (recomendado) p.ej. xosue-utils:
  4. El nombre del paquete ya es @xosue-utils/inputs (scope = org)

Si la org xosue-utils no está libre, cambiá en package.json:

"name": "@tu-org/inputs"

2) Login

npm login
# usuario, password, email, OTP si tenés 2FA
npm whoami

3) Publicar

cd D:\apps\xosue-utils\inputs
npm run build
npm publish ./dist --access public
  • --access public es obligatorio la primera vez en scopes gratuitos.
  • Si el paquete debe ser privado (npm Pro): omití --access public y usá plan de pago.
  • El build deja el paquete listo en dist/ (ahí está el package.json que se publica).

4) Versionado

Antes de cada release:

npm version patch   # 0.1.0 → 0.1.1
# o: npm version minor / major
npm run build
npm publish ./dist --access public

5) Usar desde un proyecto

npm install @xosue-utils/inputs
import { TextEntryComponent, OnlySelectComponent } from '@xosue-utils/inputs';

6) GitHub Packages (alternativa a npmjs)

Si preferís GitHub:

# .npmrc en xosue-utils/inputs
@xosue-utils:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GH_TOKEN

npm publish ./dist

Y en la app:

npm install @xosue-utils/inputs --registry=https://npm.pkg.github.com

Peer dependencies

El host debe instalar (si aún no las tiene):

  • @angular/* 19
  • @lucide/angular
  • lexical + @lexical/* (rich-text)
  • luxon, rxjs

Nota

media-entry exige provideXosueUtilsMedia(...). El resto de inputs solo necesita provideXosueUtilsInputs(...).