open-index/open-npm huggingface dataset:
npm package: @invisit/nest-repl
Description: Command line repl module for nestjs applications
Author: Jonathan Glanz
Latest version: 1.0.10

# @invisit/nest-repl

*REPL: Interact with Nest Services, Controllers, Providers, Modules, etc in a Simple Interactive Repo*

Simple library for NestJS to interact with your runtime env 
to make development inside of the Nest ecosystem
easy to debug

## Quickstart

To get started, install dependencies:

```shell
yarn add @invisit/nest-repl
# OR - dev only

```

## A simple example

```typescript
import { Injectable, Module } from "@nestjs/common"
import * as _ from "lodash"
import * as Prelude from "@3fv/prelude-ts"

import { NestReplModule } from "@invisit/nest-repl"
import { NestApplication, NestFactory } from "@nestjs/core"

const log = console.log.bind(console)

@Module({
  imports: [
    NestReplModule.register({
      // Optionally, you can configured the repl to not autostart, up to u
      // autostart: false // default is autostart=true
      prompt: "InvisitREPL >>",
      context: {
        mainGlobal: global,
        Lodash: _,
        Prelude
      }
    })
  ]
})
export class SimpleReplExampleModule {}

/**
 * Boilerplate cli below
 */ 
async function run() {
  const app = await NestFactory.create<NestApplication>(SimpleReplExampleModule,{})
  await app.init()

  // If autostart = false - by default autostart=true so this is not needed
  // const repl = await app.resolve(NodeRepl)
  // await repl.start()
}

run().catch(err => {
  console.error(`Failed to run SimpleReplExample`, err)
})

```
npm package: @invisit/string-builder
Description: SimpleStringBuilder, forked from `string-builder`.
Author: Jonathan Glanz
Latest version: 1.0.1

# @invisit/string-builder

Forked string builder from `string-builder`

### Installation

```shell
yarn add @invisit/string-builder
```

### Usage

```js
import StringBuilder from "@invisit/string-builder"
const sb = new StringBuilder();

const buffer = Buffer.from([0x30, 0x31, 0x32]); // 012

sb.append("normal text");
sb.appendLine();
sb.appendFormat("formatted text {0}, {1}", "format 1", "format 2");
sb.appendLine()
sb.append(12)
sb.appendLine()
sb.append(1)
sb.appendLine()
sb.append(0)
sb.appendLine()
sb.appendFormat("formatted text {0}, {1}", 3.6745674, 12);
sb.appendLine()
sb.appendLine(true)
sb.appendLine(false)
sb.appendLine(buffer)
sb.appendLine()
sb.append(undefined);
sb.appendLine()
sb.append(null);
sb.appendLine()
sb.appendFormat("formatted text {0}, {1}", 3.6745674, 1);

console.log("======")
console.log(sb.toString());
console.log("======")

/*
console =>
======
normal text
formatted text format 1, format 2
12
1
0
formatted text 3.6745674, 12

true
false
012


formatted text 3.6745674, 1
======
*/

```
## License
The MIT License (MIT)

Copyright © 2021 Jonathan Glanz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @invisit/webpack-aws-lambda-auto-deploy-plugin
Description: Uploads compiled assets to s3 after build
Author: Jonathan Glanz
Latest version: 1.0.17


AWS Lambda AutoDeploy Plugin
===

This plugin will upload all built assets to s3


### Install Instructions

```bash
$ yarn add -D @invisit/webpack-aws-lambda-auto-deploy-plugin
```
Note: This plugin needs NodeJS > 12+

### Configuration


## Example 1

In this case, the resulting `.zip` code
bundle of the `main` entry, will be used
to update the code for AWS lambda functions
named `main` and `event`

Note: if your code archive is > `50mb` you MUST
    use `config.aws.storage.type = "s3"` 
    (all the options are in the typings)

```typescript

/**
 * Simple config, deploy direct to lambda
 * @see `src/types.ts` 
 */
const config:AWSLambdaAutoDeployPluginConfig<"lambda"> = {
  aws: {
    config: {
      region: "us-east-1"
    },
    storage: {
      type: "lambda"
    }
  },
    /**
     * If you simply provider the function name and not
     * an array of 1..n mappings - your base file must be named `main`,
     * this is webpack's default output name.  When would mean the
     * configured call would look similar to `main.handler`
     */
    mappings: [      
      {
        entry: "main",
        fn: ["main", "event"] 
        
      }
    ]
}

```


## Debugging

The [`debug` (https://www.npmjs.com/package/debug)](https://www.npmjs.com/package/debug) categories are `lambda-autodeploy,lambda-webpack-autodeploy`

```shell

# Either will activate
env DEBUG=lambda-autodeploy
env DEBUG=lambda*

```
npm package: @invisr/bar
Description: [![version](https://img.shields.io/npm/v/@nivo/bar.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/bar)
Latest version: 0.33.6

# `@nivo/bar`

[![version](https://img.shields.io/npm/v/@nivo/bar.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/bar)

## Bar

[documentation](http://nivo.rocks/#/bar)

![Bar](./doc/bar.png)

## BarCanvas

[documentation](http://nivo.rocks/#/bar/canvas)

![BarCanvas](./doc/bar-canvas.png)
npm package: @invisr/line
Description: [![version](https://img.shields.io/npm/v/@nivo/line.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/line)
Latest version: 0.33.4

# `@nivo/line`

[![version](https://img.shields.io/npm/v/@nivo/line.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/line)

## Line

[documentation](http://nivo.rocks/#/line)

![Line](./doc/line.png)
npm package: @invisr/pie
Description: [![version](https://img.shields.io/npm/v/@nivo/pie.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/pie)
Latest version: 0.34.8

# `@nivo/pie`

[![version](https://img.shields.io/npm/v/@nivo/pie.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/pie)

## Pie

[documentation](http://nivo.rocks/#/pie)

![Pie](./doc/pie.png)
npm package: @invitelink/cli
Description: A CLI tool to generate template files
Author: Moh. Imam Rosyidi
Latest version: 0.1.1

<h1 align="center">
  <br>
  <a href="http://www.invitelink.id/"><img src="https://www.invitelink.id/assets/img/logo-with-text.svg" alt="invitelink.id" width="400"></a>
</h1>

<h4 align="center">A powerful Command Line Interface (CLI) tool designed for developers building wedding invitations with <a href="https://invitelink.id" target="_blank">Invitelink.id</a>.</h4>

<p align="center">
    <a href="#features">Features</a> •
    <a href="#installation">Installation</a> •
    <a href="#usage">Usage</a> •
    <a href="#commands">Commands</a> •
    <a href="#examples">Examples</a> •
    <a href="#author">Author</a> •
    <a href="#license">License</a>
</p>

## Features

- **Easy Setup**: Quickly initialize and configure wedding invitation projects.
- **Template Management**: Create, update, and manage templates with ease.
- **Local Development**: Run and test your projects locally before deployment.
- **Deployment Support**: Deploy your projects directly to Invitelink.id.
- **Customizable**: Extend functionality with custom configurations.

## Installation

To install the **Invitelink CLI** globally via npm, run the following command:

```bash
npm install -g invitelink-cli
```

## Usage

Once installed, you can use the CLI to manage templates with the following command:

```bash
invitelink <command> [options]
```

## Commands

Here are some of the commands you can use with the Invitelink CLI:

- `create-template`: Generate a new template file.
  ```bash
  invitelink create-template -n <template-name>
  ```

## Examples

### Creating a Template

To create a new template, run the following command:

```bash
invitelink create-template -n my-template
```

If you do not provide a template name, you will be prompted to enter one.

## Author

- **Rosyidi** - [GitHub](https://github.com/imamrosyidi)
- **Rifaldi** - [GitHub](https://github.com/rifaldiraya)
- **Dzulhilmi** - [GitHub](https://github.com/dzulhilmi)

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

<footer>
  <p align="center">
    Made with ❤️ by <a href="http://www.invitelink.id/">Invitelink.id</a>
  </p>
  <p align="center">
    <a href="https://github.com/imamrosyidi/invitelink-cli">GitHub Repository</a> •
    <a href="http://www.invitelink.id/">Contact Us</a>
  </p>
</footer>