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

@wuilmerj24/nosql

v1.0.0

Published

This module implements a NoSQL database system based on JSON files using the NativeScript file system. It allows you to create databases, tables, indexes, and perform CRUD (Create, Read, Update, Delete) operations without relying on external libraries.

Readme

npm version npm downloads NativeScript compatibility Android Support iOS Support

@wuilmerj24/nosql

This module implements a NoSQL database system based on JSON files using the NativeScript file system. It allows you to create databases, tables, indexes, and perform CRUD (Create, Read, Update, Delete) operations without relying on external libraries.

Installation

npm install @wuilmerj24/nosql

🚀 Características

  • 📁 Databases as folders in documents/.
  • 📄 Tables as .nosql files in JSON format.
  • ✅ Validation through signatures (hashes) to detect corruption.
  • 🔎 Support for simple indexes on specific fields.
  • ✍️ CRUD operations: insert, update, delete, and query data.
  • 🔄 Listing and management of databases and tables.
  • 🔑 Unique IDs generated with UUID.
  • ⚡ Query options: limit, offset, orderBy, order.
  • ⚡ Query options: limit, offset, orderBy, order.

📚 API

| Method | Description | Exampl | | ------------------------------ | --------------------------------------------------------------- | --------------------------------------------- | | dbList() | Lists all valid databases. | db.dbList() | | createDb(dbName,version?) | Creates a new database, and an optional version can be provided. | db.createDb("myDb",version?) | | setDbVersion(version) | Set version. | db.setDbVersion("1.2.3") | | getDbVersion() | Get version. | db.getDbVersion() | | useDb(dbName) | Select an existing database. | db.useDb("myDb") | | dropDb(dbName) | Deletes an entire database. | db.dropDb("myDb") | | createTable(tableName) | Crea una nueva tabla. | db.createTable("users") | | table(tableName) | Select a table to operate on. | db.table("users") | | tableDrop(tableName) | Deletes a specific table. | db.tableDrop("users") | | tableList() | Lists all tables in the database. | db.tableList() | | tableIndex(indexName, field) | Creates an index on a field. | db.tableIndex("ageIndex", "age") | | insert(data) | Inserts a document into the current table. | db.insert({name: "Alice", age: 25}) | | update(id, updates) | Updates a document by ID. | db.update(id, {age: 26}) | | update(updates) | Updates all documents with the new fields. | db.update({active: true}) | | delete(id) | Deletes a document by ID. | db.delete(id) | | delete() | Deletes all documents in the table. | db.delete() | | filter(criteria, options) | Filters documents by criteria and options (pagination, ordering). | db.filter({age:25}, {orderBy:"name"}) | | get(id) | Retrieves a document by its ID. | db.get(id) | | getAll(ids) | Retrieves multiple documents by their IDs. | db.getAll([id1, id2]) | | getAllData() | Retrieves all documents in the table. | db.getAllData() |

interface

export interface DatabaseConfig {
	name: string;
	version: string;
	createdAt: string;
	signature: string;
	lastMigration?: string,
}

⚠️ Limitations

  • Does not support complex queries (joins, aggregations).
  • Indexes are simple (equality-based).
  • Not optimized for large volumes of data.

🛠️ Future improvements

  • Support for range queries in indexes.
  • File compression and encryption.
  • Synchronization with a remote backend.
  • Transactions and concurrency control.

License

Apache License Version 2.0