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

bayarcoek

v4.0.0

Published

Sebuah script node.js untuk meng-encrypt source code project client kamu yang gak mau bayar

Downloads

28

Readme

bayarcoek encryptor

banner Sebuah script node.js untuk meng-encrypt source code project client kamu yang gak mau bayar. Terinspirasi oleh SnowFag

Requirements

  • Node.js (v14 or higher)
  • NPM / Yarn / pnpm

Warning

Gunakan script ini dengan hati-hati. Secara default, script ini akan meng-encrypt semua file dan folder di mana anda menjalankan command bayarcoek (Current Working Directory). Jangan sampai kalian tanpa sengaja meng-encrypt seluruh storage kalian. Saya tidak bertanggung jawab atas segala kesalahan yang terjadi karena kecerobohan user.

Installation

  1. Install package
  • Local
    • NPM
      npm install bayarcoek --save-dev
    • Yarn
      yarn add bayarcoek --dev
    • pnpm
      pnpm add -D bayarcoek
  • Global (bisa dijalankan di mana saja, tapi tidak direkomendasikan karena sangat berisiko)
    • NPM
      npm install -g bayarcoek
    • Yarn
      yarn global add bayarcoek
    • pnpm
      pnpm add -g bayarcoek

Usage

  1. Masuk ke folder project yang ingin di-encrypt
cd path/to/project
  1. Run command
  • Local

    • NPM

      # encrypt
      npx bayarcoek encrypt
      
      # decrypt
      npx bayarcoek decrypt
    • Yarn

      # encrypt
      yarn run bayarcoek encrypt
      
      # decrypt
      yarn run bayarcoek decrypt
    • pnpm

      # encrypt
      pnpm exec bayarcoek encrypt
      
      # decrypt
      pnpm exec bayarcoek decrypt
  • Global

    # encrypt
    bayarcoek encrypt
    
    # decrypt
    bayarcoek decrypt

Advanced Usage

Meng-encrypt satu file (atau lebih)

npx bayarcoek encrypt [nama_file_1] [nama_file_2] [dst]

Mengubah extension

npx bayarcoek encrypt [nama_file] -x plongaplongo
# npx bayarcoek encrypt [nama_file] --extension plongaplongo

Mengubah secret key

npx bayarcoek encrypt [nama_file] -k awokawokawok
# npx bayarcoek encrypt [nama_file] --secret-key awokawokawok

Men-decrypt satu file (atau lebih)

npx bayarcoek decrypt [nama_file_1] [nama_file_2] [dst]

Men-decrypt satu file dan timpa (file yang encrypted secara otomatis terhapus setelah di-decrypt)

npx bayarcoek decrypt [nama_file_1] -o
# npx bayarcoek decrypt [nama_file_1] --overwrite

Menampilkan menu bantuan

npx bayarcoek -h
# npx bayarcoek --help

Menampilkan nomor versi

npx bayarcoek -v
# npx bayarcoek --version

New Features (v3.3+)

Dry Run Mode

Preview operasi tanpa benar-benar mengeksekusinya:

npx bayarcoek encrypt --dry-run
npx bayarcoek decrypt --dry-run

Verbose Output

Tampilkan informasi detail tentang operasi:

npx bayarcoek encrypt -v
# npx bayarcoek encrypt --verbose

Quiet Mode

Supresi semua output kecuali error:

npx bayarcoek encrypt -q
# npx bayarcoek encrypt --quiet

Backup Files

Buat backup sebelum enkripsi/dekripsi:

npx bayarcoek encrypt -b
# npx bayarcoek encrypt --backup

Logging

Simpan hasil operasi ke file log:

npx bayarcoek encrypt --log-file ./bayarcoek.log

Gitignore Support

Bayarcoek secara otomatis menghormati file .gitignore di root direktori project.

Environment Variable

  • BAYARCOEK_KEY = Secret key untuk enkripsi
  • BAYARCOEK_EXT = Extension file hasil enkripsi

Support

Klik tombol di bawah untuk mendukung saya lewat donasi

Testing

Jalankan test suite dengan:

npm test
# atau
pnpm test

Dengan UI:

npm run test:ui
# atau
pnpm test:ui

Linting

Periksa kualitas kode:

npm run lint
# Perbaiki otomatis:
npm run lint:fix

Troubleshooting

"Decryption failed - you may be using an incorrect secret key"

Ini berarti secret key yang Anda gunakan untuk dekripsi tidak sesuai dengan yang digunakan untuk enkripsi. Pastikan Anda menggunakan secret key yang benar atau set environment variable BAYARCOEK_KEY.

"Permission denied"

Jalankan dengan privilege yang sesuai atau pastikan Anda memiliki akses tulis ke direktori yang akan dienkripsi/dekripsi.

"File not found"

Pastikan path file atau direktori yang Anda berikan sudah benar dan file/direktori tersebut ada.

Informasi lebih lanjut

Apabila ada yang mau ditanyakan soal skrip ini, bisa langsung pm saya: