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 🙏

© 2025 – Pkg Stats / Ryan Hefner

unictive-angular

v1.0.32

Published

CLI untuk membuat project Angular dengan struktur kustom (Modules, Core, API, Shared).

Readme

Generate Project Angular Custom

🚀 CLI Script untuk membuat proyek Angular dengan struktur kustom
⚡ Kompatibel dengan macOS, Linux, Windows
👤 by [EkaHersada]


✨ Fitur

  • Otomatis membuat project Angular baru menggunakan Angular CLI.
  • Menambahkan struktur folder Modules, Core, API, Shared.
  • Otomatis membuat file contoh (AppService, User Model, dll).
  • Mendapatkan fungsi Utility yang sering digunakan untuk pekerjaan.
  • Auto update package.json dengan script tambahan (start:dev, build:dev, dll).
  • Include environment dev, staging, dan production.
  • Deteksi sistem operasi (macOS, Linux, Windows).
  • Fallback: Install otomatis Angular CLI jika belum ada.
  • Perintah versi CLI (-v / --version).

📦 Instalasi

Global Install via NPM

npm i -g unictive-angular

Cek versi

unictive-angular -v

🚀 Cara Penggunaan

Buat proyek baru

Ketik command di bawah ini untuk generate project baru:

unictive-angular

Kemudian ikuti instruksi untuk memasukkan nama project.

Output

  • Proyek Angular baru akan dibuat.
  • Struktur folder tambahan otomatis ditambahkan:
src/app/
  ├── modules/
  │   ├── auth/
  │   ├── dashboard/
  │   └── home/
  ├── core/
  │   ├── services/
  │   ├── guards/
  │   ├── interceptors/
  │   ├── models/
  │   └── config/
  ├── api/
  │   ├── endpoints/
  │   ├── config/
  │   └── services/
  └── shared/
      ├── components/
      ├── directives/
      ├── pipes/
      ├── layout/
      └── utils/

⚠️ Perhatian:
Proyek yang dihasilkan secara default menggunakan zoneless Angular. Pastikan untuk menyesuaikan kode Anda jika membutuhkan fitur yang bergantung pada zone.js.

➕ Cara Menambahkan zone.js

Jika Anda membutuhkan fitur Angular yang bergantung pada zone.js, Anda dapat menambahkannya secara manual:

  1. Install zone.js:
npm install zone.js
  1. Import zone.js di file utama aplikasi Anda (biasanya src/polyfills.ts):
import 'zone.js';
  1. Pastikan konfigurasi Angular Anda tidak menggunakan mode zoneless.

Setelah langkah di atas, fitur Angular yang memerlukan zone.js akan berfungsi seperti biasa.


🛠 Script tambahan di package.json

"scripts": {
  "start:dev": "ng serve --port 4200 --open",
  "build:dev": "ng build",
  "lint": "ng lint",
  "test": "ng test --watch=false"
}

🔧 Prasyarat

  • Node.js (>= 16)
  • npm (>= 8)
  • Angular CLI (>=18 jika belum ada, akan otomatis diinstall)

💡 Jalankan Project yang sudah di generate

cd nama-project && ng serve

📜 Lisensi

MIT License © 2025 - EkaHersada