# node-bookmark-cli

> Bookmark cli

Latest version **1.0.4** (published 2020-02-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-bookmark-cli
pnpm add node-bookmark-cli
yarn add node-bookmark-cli
bun add node-bookmark-cli
```

Provides the command `bookmark`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-02-20 |
| First published | 2020-02-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 16.9 KB |
| Known vulnerabilities | 0 (+7 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | finn.nguyen |
| Maintainers | finn.nguyen |
| Keywords | bookmark, cli |

## Links

- npm: https://www.npmjs.com/package/node-bookmark-cli
- Repository: https://github.com/finn-nguyen/bookmark-cli
- Homepage: https://github.com/finn-nguyen/bookmark-cli#readme
- Issues: https://github.com/finn-nguyen/bookmark-cli/issues
- npm.io page: https://npm.io/package/node-bookmark-cli

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [mongoose](https://npm.io/package/mongoose.md) ^5.9.1
- [cli-table](https://npm.io/package/cli-table.md) ^0.3.1
- [commander](https://npm.io/package/commander.md) ^4.1.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2020-02-20
- 1.0.3 — 2020-02-20
- 1.0.2 — 2020-02-20
- 1.0.1 — 2020-02-20
- 1.0.0 — 2020-02-20

## README

# Bookmark CLI

## Prerequisite

Mongo DB server is running on your local machine

## Installation

```
npm install -g node-bookmark-cli
```

### List all categories

List all categories or all bookmark in a category

##### Example

```
bookmark list
bookmark list golang
```

##### Usage

```
bookmark list [category]
```

If category is missing it will list all categories.

### Add a new bookmark

Add a new bookmark in a category.

##### Example

```
bookmark add golang http://golang.org -t golang -s 100
```

##### Usage

```
bookmark add <category> <url> -t title -s score

Options:
-t, --title [title]    bookmark title
-s, --score [score]    bookmark score for ranking
```

### Open a bookmark

Open a bookmark by title or id

##### Example

```
bookmark open 1
bookmark open golang
```

##### Usage

```
bookmark open <id | title>
```

### Update a bookmark

Update title, url, score of a bookmark by id

##### Example

```
bookmark update 1 -t golang -u http://golang.org -s 25
```

##### Usage

```
bookmark update <id> -t [title] -u [url] -s [score]

Options:
-t, --title [title]    bookmark title
-s, --score [score]    bookmark score for ranking
-u, --url [url]        bookmark url
```

### Delete a bookmark

Delete a bookmark by id

##### Example

```
bookmark delete 2
```

##### Usage

```
bookmark delete <id>
```

---
_Source: https://npm.io/package/node-bookmark-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
