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

fullcodes

v1.0.17

Published

FullCodes bu — HTMLga muqobil sifatida ishlab chiqilgan soddalashtirilgan va qisqartirilgan DSL (domain-specific language) bo'lib, u HTML sintaksisini minimal, tez yoziladigan va xatolardan holi shaklga keltiradi. Dasturchilar qisqacha va toza kod yozadi,

Readme

FullCodes

FullCodes bu — HTMLga muqobil sifatida ishlab chiqilgan soddalashtirilgan va qisqartirilgan DSL (domain-specific language) bo'lib, u HTML sintaksisini minimal, tez yoziladigan va xatolardan holi shaklga keltiradi. Dasturchilar qisqacha va toza kod yozadi, FullCodes esa uni avtomatik valid HTMLga aylantiradi.

🔧 O'rnatish va Ishga Tushurish

npx fullcodes@latest

Fayl kengaytmasi

.fcode kengaytmasi asosida fayl ochasiz. index.fcode, main.fcode va h.k.

✨ Asosiy Afzalliklar

Har bir afzallik HTML'dagi mavjud muammoni yechishga qaratilgan.


1. Qisqa sintaksis: class, id, attr

HTML:

<div class="box" id="main" data-info="123">Hello</div>

FullCodes:

div.box#main[data-info:123]{Hello}

Muammo: HTML'da atributlar uzun yoziladi. Har safar class="..." va id="..." kabi yozuvlarni takrorlash kerak.

Yechim: FullCodes’da .class, #id va [attr:value] bilan yozish tez, tushunarli va takror yozishlar yo‘q.


2. Nestingni boshqarish: {} bilan

HTML:

<div class="container">
  <h1>Title</h1>
  <p>Matn</p>
</div>

FullCodes:

div.container{
  h1{Title}
  p{Matn}
}

Muammo: HTML'da yopuvchi teglar unutilishi DOM xatolariga olib keladi.

Yechim: FullCodes’da har bir blok {} orqali ochilib yopiladi — xatoliklar avtomatik oldi olinadi.


3. style va script yozilishi

HTML:

<style>
  .red { color: red; }
</style>

FullCodes:

style{
  .red { color: red; }
}

Muammo: <style> va <script> yozilishi ko‘p bo‘sh joy, qavs va yangi satr talab qiladi.

Yechim: style{} va script{} orqali oson va toza shaklda yoziladi.


4. Avtomatik <meta> va <title> generatsiyasi

FullCodes:

html{
  head{}
  body{}
}

Natijasi:

<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
  </head>
  <body></body>
</html>

Muammo: HTML'da meta, viewport, title kiritilmasa SEO va responsive dizayn ishlamaydi.

Yechim: FullCodes avtomatik tarzda bu muhim elementlarni qo‘shadi.


5. Kommentariyalar soddaligi

HTML:

<!-- Bu sharh -->

FullCodes:

!{Bu sharh}

Muammo: <!-- --> yozish uzoq, ko‘rinmas va xatolik xavfi bor.

Yechim: FullCodes !{} orqali soddalashtirilgan komentariyalar taqdim etadi.


6. Inline teglar va matnlar aralashmasida tozaligi

HTML:

<p>Hello <strong>World</strong> and <em>Everyone</em></p>

FullCodes:

p{Hello strong{World} and em{Everyone}}

Muammo: HTML'da taglar va matnlar chalkash aralashadi.

Yechim: FullCodes nestingni to‘g‘ri boshqaradi, matnlar ajralgan va o‘qilishi qulay.


7. Self-closing teglar soddaligi

HTML:

<input type="text" placeholder="Ism">

FullCodes:

input[type:text placeholder:Ism]/

Muammo: HTML’da yopuvchi / unutilsa DOM buziladi.

Yechim: FullCodes .../ orqali bu muammoni hal qiladi.


8. Atributlar tartibining ahamiyatsizligi

HTML:

<div id="x" class="box red" data-info="1">

FullCodes:

div.red.box#x[data-info:1]{...}

Muammo: HTML’da tartib muhim va chalkashlik bo‘ladi.

Yechim: FullCodes tartibga bog‘liq emas — parser to‘g‘ri yig‘adi.


9. auto div yoki html hosil qilib beradi

{}

Muammo: Har bir tegni aniq nomlash kerak

Yechim: FullCodes o'zi bilib div yoki html teglarini qo'yib beradi.


10. lang atributi avtomatik qo‘shilishi

FullCodes:

{}

Natijasi:

<html lang="en">

Muammo: HTML'da bu atribut ko‘p hollarda unutiladi, bu esa tilni aniqlashda xatolarga olib keladi.

Yechim: FullCodes avtomatik lang="en" qo‘shadi (keyinchalik konfiguratsiyalanishi mumkin).


11. <!DOCTYPE html> avtomatik qo‘shilishi


🧪 Misol

{
  head{
    title{Sahifa nomi}
  }
  body{
    h1{Xush kelibsiz}
    p{Bu FullCodes misolidir}
    input[type:text placeholder:"Ismingiz"]/
  }
}

Natija (HTML):

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Sahifa nomi</title>
  </head>
  <body>
    <h1>Xush kelibsiz</h1>
    <p>Bu FullCodes misolidir</p>
    <input type="text" placeholder="Ismingiz">
  </body>
</html>

🧠 Yakuniy so‘z

FullCodes — bu oddiy HTML'dan ko‘ra tezroq yoziladi, kamroq xato qiladi, va ko‘proq avtomatlashtirishni taklif etadi. Har qanday front-end yoki static-site generator jarayoniga osongina integratsiyalanishi mumkin.

npx fullcodes@latest