mirror of
https://github.com/Wessel/larg.git
synced 2026-06-08 14:09:52 +02:00
Improvements
This commit is contained in:
1
LICENSE
1
LICENSE
@@ -1,4 +1,3 @@
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019-present Wessel "wesselgame" T
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# larg
|
||||
> A lightweight Node.js argument parser which can be used in various ways.
|
||||
|
||||
> [GitHub](https://www.github.com/PassTheWessel/larg) **|** [NPM](https://www.npmjs.com/package/larg)
|
||||
> [GitHub](https://github.com/PassTheWessel/larg) **|** [NPM](https://npmjs.com/package/larg)
|
||||
|
||||
## Installing
|
||||
```sh
|
||||
@@ -25,6 +25,3 @@ $ node test.js -x 3 -y 4 -ab --beep=boop foo bar
|
||||
b: true,
|
||||
beep: 'boop' }
|
||||
```
|
||||
|
||||
### Why should I use larg?
|
||||
Larg is very lightweight (3.45kb total, 569b minified in **dist/larg.min.js**) comparing to other packages such as optimist and minimist.
|
||||
|
||||
1
larg.d.ts
vendored
1
larg.d.ts
vendored
@@ -1,4 +1,3 @@
|
||||
// Typings Componenet for package: larg
|
||||
|
||||
declare function larg(args?: any[]): any;
|
||||
export = larg;
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "larg",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "👾 A very lightweight Node.js argument parser",
|
||||
"author": "Wessel \"wesselgame\" T <discord@go2it.eu>",
|
||||
"license": "MIT",
|
||||
@@ -10,13 +10,13 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://www.github.com/PassTheWessel/larg/issues"
|
||||
"url": "https://github.com/PassTheWessel/larg/issues"
|
||||
},
|
||||
"homepage": "https://www.github.com/PassTheWessel/larg#readme",
|
||||
"homepage": "https://github.com/PassTheWessel/larg#readme",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://www.github.com/PassTheWessel/larg"
|
||||
"url": "https://github.com/PassTheWessel/larg"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
|
||||
Reference in New Issue
Block a user