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 🙏

© 2024 – Pkg Stats / Ryan Hefner

hindijs

v1.0.0

Published

To use js in hindi

Downloads

1

Readme

Hindijs

Array Functions (अर्रे के फ़ंक्शन):

जोड़ें (concat)

const arr1 = [1, 2, 3];
const arr2 = [4, 5, 6];
const newArr = arr1.जोड़ें(arr2); // [1, 2, 3, 4, 5, 6]

ढूंढें (indexOf)

const arr = [10, 20, 30, 40, 50];
const index = arr.ढूंढें(30); // 2

String Functions (स्ट्रिंग के फ़ंक्शन):

लंबाई (length)

const str = 'Hello, World!';
const length = str.लंबाई(); // 13

विस्तार (replace)

const str = 'JavaScript is amazing!';
const newStr = str.विस्तार('amazing', 'awesome'); // 'JavaScript is awesome!'

उपरी_चर (toUpperCase)

const str = 'hello';
const upperCaseStr = str.ऊपरी_चर(); // 'HELLO'

Functions in Hindi (फ़ंक्शन्स इन हिंदी)

Array Functions (अर्रे के फ़ंक्शन):

जोड़ें (concat)

Array mein ek aur array ko jodta hai aur naya array return karta hai.

ढूंढें (indexOf)

Array mein ek element dhoondhta hai aur uska index return karta hai.

अंत_में_ढूंढें (lastIndexOf)

Array mein ek element ko end se dhoondhta hai aur uska index return karta hai.

में_शामिल_है (includes)

Array mein ek element hai ya nahi check karta hai.

फॉर_इंडेक्स (forEach)

Array ke har element ke saath ek function ko chalata hai.

कम_करना (reduce)

Array ke har element ko ek function ke madhyam se kam karta hai aur final result return karta hai.

कम_करना_पिछला (reduceRight)

Array ke har element ko reverse order mein ek function ke madhyam se kam karta hai aur final result return karta hai.

इंडेक्स_ढूंढें (findIndex)

Array mein ek element ko dhundhta hai jo diye gaye condition ko satisfy karta hai aur uska index return karta hai.

String Functions (स्ट्रिंग के फ़ंक्शन):

लंबाई (length)

String ki length ko return karta hai.

स्ट्रिंग (String)

Kisi bhi value ko string mein convert karta hai.

जोड़ें (concat)

Do ya zyada strings ko jodkar naya string return karta hai.

सबस्ट्रिंग (substring)

String ke kisi part ko return karta hai.

ढूंढें (indexOf)

String mein ek substring ko dhundhta hai aur uska index return karta hai.

अंतिम_स्ट्रिंग_इंडेक्स (lastIndexOf)

String mein ek substring ko end se dhundhta hai aur uska index return karta hai.

स्ट्रिंग_में_ढूंढें (includes)

String mein ek substring hai ya nahi check karta hai.

शुरुआत (startsWith)

String kya di gayi substring se shuru hoti hai ya nahi check karta hai.

अंत (endsWith)

String kya di gayi substring se khatam hoti hai ya nahi check karta hai.

ऊपरी_चर (toUpperCase)

String ko uppercase mein convert karta hai.

निचली_चर (toLowerCase)

String ko lowercase mein convert karta hai.

ट्रिम_शुरुआत (trimStart)

String ke shuru ki spaces ko hatakar naya string return karta hai.

ट्रिम_अंत (trimEnd)

String ke ant ki spaces ko hatakar naya string return karta hai.

विस्तार (replace)

String ke part ko replace karta hai.

विस्तार_सभी (replaceAll)

String ke sabhi matching parts ko replace karta hai.

पर (charAt)

Diye gaye index par string ka character return karta hai.

चित्रसंख्या_पर (charCodeAt)

Diye gaye index par character ka ASCII code return karta hai.

स्थानिक_तुलना (localeCompare)

Do strings ko compare karta hai aur unka relation return karta hai.

For more detailed usage and examples, refer to the code comments or documentation.

By https://Telegram.me/PanditSiddharth