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

pldb

v7.1.0

Published

PLDB: a Programming Language Database

Downloads

16

Readme

title PLDB: a Programming Language Database

import code/ciBadges.scroll

  • PLDB is a public domain database and website containing over 135,000 facts about over 4,000 programming languages.

  • This repo contains the entire database, code, and website for https://pldb.com.

To analyze the data

  • The PLDB database is freely available:
  • As CSV: https://pldb.com/pldb.csv
  • As JSON: https://pldb.com/pldb.json
  • The JSON file is also available via npm: javascriptCode // npm install pldb console.log(require("pldb").javascript.appeared)
  • Documentation for the CSV is available here: https://pldb.com/docs/csv.html.

To add a new language

  • Easy method: https://pldb.com/create.html
  • Advanced method: Create a new file in database/things with a unique URL friendly filename ending in .pldb and send a pull request.

To update a language

  • Easy method: https://pldb.com/
  • Advanced method: Edit the corresponding database/things/*.pldb file and send a pull request.

To add a new column

  • Advanced method: Edit or create a new file in database/grammar and add at least 1 example to an entity in database/things and send a pull request.

To add a new feature

  • Advanced method: Create a new file in database/features like the other files in there. Then add your new feature to the database/grammar/features.grammar file. Try to add data from at least 10 languages along with your new feature.

To build the full site locally

code git clone https://github.com/breck7/pldb cd pldb npm install . npm i -g cloc npm run build

Run tests

npm run test

Start the dev server

npm run local

After you make changes and before you commit make sure to run:

npm run format

To explore this repo

  • The most important folder is database/things/, which contains a file for each entity. The folder database/grammar/ contains the grammar files (schema) for the database.
  • The website content is in the site folder.
  • The code folder contains importer scripts and other code for the database and site.
  • You can see the cloc language stats on this repo at https://pldb.com/pages/about.html.

To cite PLDB

  • PLDB content is published to the public domain and you can use it freely. If needed, here are 3 options for citing PLDB: code https://pldb.com code PLDB contributors. (2022) - "PLDB: a Programming Language Database". Retrieved from: 'https://pldb.com' [Online Resource] code @article{pldb, author = {PLDB contributors}, title = {PLDB: a Programming Language Database}, journal = {PLDB}, year = {2022}, note = {https://pldb.com} }

  • All sources for PLDB can be found here: https://pldb.com/pages/acknowledgements.html