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

darkdev.js

v1.1.0

Published

DarkDev.js ile işlerini daha basit hâle getir.

Readme

darkdev.js ne işe yarıyor? | darkdev.js what does it do?

🇹🇷 darkdev.js yardımcı olma amaçlı basit bir modüldür. 🇺🇸 darkdev.js is a simple module to help.

Kurulum

npm i darkdev.js

Sonra... | Then...

Test Start

const DarkDev = require('darkdev.js')
DarkDev(client)

DarkDev('your-magic-token') // Çıktısı | Output;

/* Dark Partner#0816 başarıyla başlatıldı ve kapatılıyor. | Dark Partner#0816 succesfully started and now shuting down. */

NumberToEmoji

const { NumberToEmoji } = require('darkdev.js')

NumberToEmoji(message.guild.memberCount) // Varsayılan | Default: 3️⃣1️⃣

// "Eğer isterseniz | If you want"

const { NumberToEmoji } = require('darkdev.js')

NumberToEmoji(message.guild.memberCount,
'<a:zero:675593025468235806>',
'<a:one:675593025468235806>',
'<a:two:675593025468235806>',
'<a:three:675593025468235806>',
'<a:four:675593025468235806>',
'<a:five:675593025468235806>',
'<a:six:675593025468235806>',
'<a:seven:675593025468235806>',
'<a:eight:675593025468235806>',
'<a:nine:675593025468235806>',
'<a:blank:675593025468235806>') // Girilen emoji şeklinde

DarkERR

const { DarkERR } = require('darkdev.js')

client.login('token').catch(DarkERR) // Çıktısı | Output;

/*│────────────────────────────────────
  │
  │ Uh, olamaz. Bir hata ile karşılaştık. | Uh, it can't be. We encountered an error.
  │
  │ Hata saati | Error time: 31 Temmuz 2021 Cumartesi 13:37
  │
  │ Hata kodu | Error code: x[10000 - 12500]
  │
  │ Hata: Error [TOKEN_INVALID]: An invalid token was provided.
  │
  └────────────────────────────────────/*

// "Eğer isterseniz | If you want"

const { DarkERR } = require('darkdev.js')

client.login('token').catch(error => DarkERR(error,`Bir hata var. | There is a problem.

{error}`)) // Çıktısı;

/* Bir hata var. | There is a problem.

Error [TOKEN_INVALID]: An invalid token was provided. */

DarkMS

const { DarkMS } = require('darkdev.js')

console.log(DarkMS(<your-date>)) // Çıktısı | Output;

/* {
	gün: 1,
	saat: 23,
	dakika: 59,
	saniye: 59,
	milisaniye: 59,
	mikrosaniye: 59,
	nanosaniye: 59
} */

})

generatePassword

const { generatePassword } = require('darkdev.js')
// const DarkPassword = generatePassword(<options>)
const DarkPassword = generatePassword({
  kaçHane: 7,
  küçükBüyük: true,
  sayıKullanım: true
})
console.log(DarkPassword) // Çıktısı | Output;

/* D4RKD3V */

getRandomFloat

const { getRandomFloat } = require('darkdev.js')

console.log(getRandomFloat(1,5)) // 3

İçindekiler

darkdev.js 6 seçenek destekliyor. | darkdev.js supporting 6 option. Bunlar;

  • DarkDev - Botunuzu test olarak çalıştırın. | Start your bot for test.
  • NumberToEmoji - Sayıları emojiye çevirir. | Convert numbers to emoji.
  • DarkERR - Hata mesajınızı özelleştirin. | Customize your error message.
  • DarkMS - "parse-ms" modülünün türkçe basit hali. | "parse-ms" module simple version.
  • generatePassword - İstediğiniz ayarlar ile şifre oluşturun. | Create a password with the settings you want.
  • getRandomFloat - Girilen iki sayı arasında rastgele bir sayı verir. | Returns a random number between two entered numbers.