open-index/open-npm huggingface dataset:
npm package: @haroun/b64-cli
Description: Command line interface to decode/encode base64 data
Author: Harouna Traore
Latest version: 3.0.0

# b64-cli ![Node.js CI](https://github.com/haroun/b64-cli/workflows/Node.js%20CI/badge.svg) ![CodeQL](https://github.com/haroun/b64-cli/workflows/CodeQL/badge.svg)

> Command line interface to decode/encode base64 data

Did you know that JWT are Base64 URL encoded?
> The output is three Base64 strings separated by dots that can be easily passed in HTML and HTTP environments [Introduction to JSON Web Tokens](https://jwt.io/introduction/)

You can use `b64` to check the content of a JWT header/payload, or encode/decode embedded resources from your CSS,...


## Install

```
$ npm install --global @haroun/b64-cli
```

If you don't want to install the package globally, you can use npx instead

```
$ npx @haroun/b64-cli
```


## Usage

```
$ b64 --help

  Usage
    $ b64 [--encode|--decode] <string>
    $ echo <string> | b64

  Options
    -e, --encode Encode
    -d, --decode Decode

  Examples
    $ b64 --encode 'test'
    dGVzdA==

    $ b64 -e 'test'
    dGVzdA==

    $ b64 'dGVzdA=='
    test

    $ b64 --decode 'dGVzdA=='
    test

    $ echo 'dGVzdA==' | b64
    test
```


## License

MIT © [Harouna Traore](https://github.com/haroun)
npm package: @haroun/cuid-cli
Description: Get a cuid (collision-resistant id)
Author: Harouna Traore
Latest version: 3.0.1

# cuid-cli ![Node.js CI](https://github.com/haroun/cuid-cli/workflows/Node.js%20CI/badge.svg) ![CodeQL](https://github.com/haroun/cuid-cli/workflows/CodeQL/badge.svg)

> Command line interface for [cuid](https://github.com/ericelliott/cuid)


## Install

```
$ npm install --global @haroun/cuid-cli
```

If you don't want to install the package globally, you can use npx instead

```
$ npx @haroun/cuid-cli
```


## Usage

```
$ cuid --help

  Usage
    $ cuid [--slug] [number]
    $ echo [number] | cuid [--slug]

  Options
    -s, --slug Get slug

  Examples
    $ cuid
    ciyefyc630000x0y7mhd8o67n

    $ cuid 4
    ciyefyc630000x0y7mhd8o67n
    ciyefyc650001x0y7f9rqtegv
    ciyefyc650002x0y7e9826mhe
    ciyefyc650003x0y7az4v96ec

    $ cuid --slug
    1m0z7cm

    $ cuid 4 --slug
    1m0z7cm
    1n1z7om
    1o2z7ud
    1o3z73h

    $ echo '4' | cuid --slug
    1m0z7cm
    1n1z7om
    1o2z7ud
    1o3z73h
```


## Related

*   [cuid](https://github.com/ericelliott/cuid) - API for this module


## License

MIT © [Harouna Traore](https://github.com/haroun)
npm package: @haroun/sync-status-cli
Description: Make a diff between two directories and list all missing files
Author: Harouna Traore
Latest version: 1.1.0

# sync-status-cli [![Build Status](https://travis-ci.org/haroun/sync-status-cli.svg?branch=master)](https://travis-ci.org/haroun/sync-status-cli)

> Make a diff between two directories (`source` & `target`) and list all files missing in the target.

* `source` is the directory used as reference
* `target` is the directory where the files must be copied

## Install

```sh
npm install --global @haroun/sync-status-cli
```

If you don't want to install the package globally, you can use npx instead

```sh
npx @haroun/sync-status-cli
```

## Usage

```sh
$ sync-status --help

  Usage
    $ sync-status <source> <target>

  Examples
    $ sync-status ./source ./target
    ._DSCF2125.RAF
    ._DSCF2126.RAF
```

## License

MIT © [Harouna Traore](https://github.com/haroun)