From e3038045105226d140f1ef5fa4b7d104f93028e6 Mon Sep 17 00:00:00 2001 From: 43081j <43081j@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:15:59 +0100 Subject: [PATCH] feat: rename package Renames to picoquery now that we're ready to publish. --- README.md | 6 +++--- bench/main.js | 2 +- package-lock.json | 4 ++-- package.json | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2c29f96..a3984bf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# nanoquery +# picoquery A lightweight query string parser/stringifier with support for nesting and some configurability. @@ -8,7 +8,7 @@ Built on top of [fast-querystring](https://github.com/anonrig/fast-querystring). ## Install ```sh -npm i -S nanoquery +npm i -S picoquery ``` ## Usage @@ -16,7 +16,7 @@ npm i -S nanoquery Parsing a query string: ```ts -import {parse} from 'nanoquery'; +import {parse} from 'picoquery'; parse('foo.bar=abc&baz=def'); diff --git a/bench/main.js b/bench/main.js index 56b467b..32aa77a 100644 --- a/bench/main.js +++ b/bench/main.js @@ -11,7 +11,7 @@ const inputs = [ const bench = new Bench(); bench - .add('nanoquery (parse)', () => { + .add('picoquery (parse)', () => { for (const input of inputs) { parse(input); } diff --git a/package-lock.json b/package-lock.json index 3129867..578bbb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "nanoquery", + "name": "picoquery", "version": "0.0.0-dev", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "nanoquery", + "name": "picoquery", "version": "0.0.0-dev", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index b5a68f2..4b09028 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "nanoquery", + "name": "picoquery", "version": "0.0.0-dev", "type": "module", "description": "A small library for parsing and serialisation query strings", @@ -10,7 +10,7 @@ ], "scripts": { "build": "tsc", - "test": "npm run build && node --test", + "test": "npm run build && c8 node --test", "lint": "eslint src", "format": "prettier --write src", "bench": "node ./bench/main.js", @@ -18,7 +18,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/es-tooling/nanoquery.git" + "url": "git+https://github.com/es-tooling/picoquery.git" }, "keywords": [ "qs", @@ -30,9 +30,9 @@ "author": "James Garbutt (https://github.com/43081j)", "license": "MIT", "bugs": { - "url": "https://github.com/es-tooling/nanoquery/issues" + "url": "https://github.com/es-tooling/picoquery/issues" }, - "homepage": "https://github.com/es-tooling/nanoquery#readme", + "homepage": "https://github.com/es-tooling/picoquery#readme", "devDependencies": { "@eslint/js": "^9.1.1", "@types/dlv": "^1.1.4",