Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 12, 2021
1 parent da4a24a commit 19b7f02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@

---

# picoargs
# tinyargs

[![npm version](https://badgen.net/npm/v/picoargs)](https://npm.im/picoargs) [![npm downloads](https://badgen.net/npm/dm/picoargs)](https://npm.im/picoargs)
[![npm version](https://badgen.net/npm/v/tinyargs)](https://npm.im/tinyargs) [![npm downloads](https://badgen.net/npm/dm/tinyargs)](https://npm.im/tinyargs)

A tiny and flexible command-line argument parser for Node.js and Deno.

## Install

```bash
npm i picoargs
npm i tinyargs
```

[Deno](https://deno.land) users:

```ts
import { parse } from "https://unpkg.com/picoargs/mod.ts"
import { parse } from "https://unpkg.com/tinyargs/mod.ts"
```

## Usage

### CLI example

```ts
import { parse } from "picoargs"
import { parse } from "tinyargs"

const cli = parse(process.argv.slice(2), [
{ name: "help", flags: ["h"], type: Boolean, stop: true },
Expand Down Expand Up @@ -107,7 +107,7 @@ if (cli.command === "run") {

## API Reference

https://www.jsdocs.io/package/picoargs
https://www.jsdocs.io/package/tinyargs

## Sponsors

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "picoargs",
"name": "tinyargs",
"version": "0.1.0",
"description": "A tiny and flexible command-line argument parser for Node.js and Deno.",
"publishConfig": {
Expand Down

0 comments on commit 19b7f02

Please sign in to comment.