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

nusaicons

v1.0.4

Published

Pustaka ikon SVG open-source premium untuk developer Indonesia. 38+ ikon berkualitas tinggi, mendukung currentColor & Tailwind CSS.

Readme

NusaIcons 🎨✨

Ikon yang Didesain untuk Keseriusan.
NusaIcons adalah pustaka ikon SVG open-source modern dan ringan yang dirancang dengan teknik CSS Masking.

🌐 Live Site: https://amrunamv.github.io/nusaicon/
📦 NPM: https://www.npmjs.com/package/nusaicons

NusaIcons Banner npm License Icons


🚀 Instalasi

Via NPM

npm install nusaicons

Via Yarn

yarn add nusaicons

Via CDN (tanpa instalasi)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/amrunamv/nusaicon@main/nusaicons.css">

💻 Cara Penggunaan

1. HTML Biasa (via CDN CSS)

Setelah memasang stylesheet, gunakan tag <i> dengan class icon-{nama-ikon}:

<button>
  <i class="icon-download"></i> Unduh File
</button>

2. JavaScript / Node.js (CommonJS)

const { getSvg, getIcon, icons } = require('nusaicons');

// Dapatkan SVG sebagai string
const svgString = getSvg('home');
// → <svg ...>...</svg>

// Dengan opsi kustom
const customSvg = getSvg('heart', { size: 32, color: '#ef4444' });

// Dapatkan data ikon
const iconData = getIcon('star');
// → { name: 'star', category: 'Umum', path: '...' }

// Daftar semua ikon
console.log(icons.length); // 38

3. JavaScript ES Modules (ESM / Vite / Next.js)

import { getSvg, getIcon, getByCategory, iconNames } from 'nusaicons';
import 'nusaicons/css'; // Import stylesheet

// Gunakan di komponen
const homeIcon = getSvg('home', { size: 24, className: 'text-indigo-600' });

// Filter berdasarkan kategori
const navIcons = getByCategory('Navigasi');

// Daftar semua nama ikon
console.log(iconNames); // ['home', 'menu', 'search', ...]

4. React (JSX)

import { getSvg } from 'nusaicons';
import 'nusaicons/css';

function MyButton() {
  return (
    <button>
      <span dangerouslySetInnerHTML={{ __html: getSvg('download') }} />
      Unduh
    </button>
  );
}

5. Vue 3

<template>
  <button>
    <span v-html="downloadIcon" />
    Unduh
  </button>
</template>

<script setup>
import { getSvg } from 'nusaicons';
import 'nusaicons/css';

const downloadIcon = getSvg('download', { size: 20 });
</script>

🎨 Kustomisasi Warna & Ukuran

NusaIcons menggunakan CSS Masking — ikon menyerap warna dari teks (currentColor):

<!-- Via style langsung -->
<i class="icon-heart" style="color: #ef4444; font-size: 32px;"></i>

<!-- Via Tailwind CSS -->
<i class="icon-star text-yellow-500 text-3xl"></i>

<!-- Via class CSS biasa -->
<style>
.my-icon { color: #4f46e5; font-size: 24px; }
</style>
<i class="icon-home my-icon"></i>

📦 Daftar Ikon (38 Ikon)

| Kategori | Ikon | |---|---| | Navigasi | home, menu, search, arrow-left, arrow-right, chevron-down, close, check, map-pin | | User | user, users, lock, shield | | Sistem | plus, trash, edit, folder, calendar, download, upload, printer, link, settings | | Media | image, video, eye, eye-off, sun, moon | | Umum | shopping-cart, star, bell, heart, mail, camera, share, alert-circle, info |


🛠️ API

| Fungsi | Parameter | Keterangan | |---|---|---| | getSvg(name, options?) | name: string, options: {size, color, strokeWidth, className} | Mengembalikan SVG string | | getIcon(name) | name: string | Mengembalikan data ikon | | getByCategory(category) | category: string | Filter ikon by kategori | | icons | — | Array semua data ikon | | iconNames | — | Array semua nama ikon | | iconCategories | — | Array semua kategori |


📄 Lisensi

MIT © 2026 Amrunamv

Dibuat dengan ❤️ untuk komunitas Developer Indonesia.