open-index/open-npm huggingface dataset:
npm package: @print-one/moneybird-js
Description: A client for Moneybird in javascript
Author: Print.one
Latest version: 1.10.2

# Moneybird.js

[![npm package][npm-img]][npm-url]
[![Build Status][build-img]][build-url]
[![Issues][issues-img]][issues-url]
[![Semantic Release][semantic-release-img]][semantic-release-url]

> A wrapper for the Moneybird API.

## Currently supported endpoints

- Administration
- Contact*
- Sales invoice*
- Tax rates
- Custom Fields
- Ledger accounts*
- Workflows
- Webhooks

*not all endpoints are yet implemented

## Usage

```js
const moneybird = require("@print-one/moneybird-js");

// Set API token for the Moneybird instance
moneybird.instance.setOptions({
  api_token: 'XXXXX',
});

// Alternatively you can create an new instance
const instance = new moneybird.Moneybird(
  'https://moneybird.com/api/',
  'v2',
  'XXXXX'
);

// Get all administrations
instance.administrations().then(async (administration) => {
  const contacts = await administration.contacts();
  console.log(contacts);
});
```

[build-img]:https://github.com/Print-one/moneybird-js/actions/workflows/release.yml/badge.svg

[build-url]:https://github.com/Print-one/moneybird-js/actions/workflows/release.yml

[npm-img]:https://img.shields.io/npm/v/@print-one/moneybird-js

[npm-url]:https://www.npmjs.com/package/@print-one/moneybird-js

[issues-img]:https://img.shields.io/github/issues/Print-one/moneybird-js

[issues-url]:https://github.com/ryansonshine/Print-one/moneybird-js/issues

[semantic-release-img]:https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg

[semantic-release-url]:https://github.com/semantic-release/semantic-release
npm package: @printcart/n8n-nodes-printcart
Description: this is printcart node
Author: Printcart.com
Latest version: 0.2.6

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @printcart/n8n-nodes-printcart-trigger
Description: N8N trigger for Printcart
Author: Printcart
Latest version: 1.0.5

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @printcart/n8n-nodes-test
Description: test n8n node
Author: Printcart
Latest version: 0.1.0

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @printcart/shopify-integration
Description: Printcart Designer SDK for Shopify.
Author: Printcart
Latest version: 2.3.37

Add [Printcart Designer](https://printcart.com) to your Shopify Store.

## Usage

Add CSS file to header:

```html
<link
  href="https://unpkg.com/@printcart/shopify-integration/dist/style.css"
  rel="stylesheet"
/>
```

Add JS file before the closing body tag:

```html
<script src="https://unpkg.com/@printcart/shopify-integration/dist/main.js"></script>
```

## Options

Add `window.PrintcartDesignerShopifyOptions` variable before our script tag to customize the default UI or extend default functionality:

```js
window.PrintcartDesignerShopifyOptions = {
  designBtnText: "",
  editBtnText: "",
  designClassName: "",
  onCreateSuccess: (data, context) => {},
  onEditSuccess: (data, context) => {},
};

<script src="https://unpkg.com/@printcart/shopify-integration/dist/main.js"></script>;
```

### `designBtnText`

- Type: string

Change the Start Design button text

### `designClassName`

- Type: string

Style the Start design button with css

### `editBtnText`

- Type: string

Change the Edit Design button text

### `onCreateSuccess`

- Type: (data) => void

A function run when the design file finish uploaded.

### `onEditSuccess`

- Type: (data) => void

A function run when the design file finish editted.

**Example**

```js
window.PrintcartDesignerShopifyOptions = {
  designBtnText: "Custom Start Design Text",
  editBtnText: "Custom Edit Design Text",
  designClassName: "btn-css",
  onCreateSuccess: (data) => console.log(data),
  onEditSuccess: (data) => console.log(data),
};

<script src="https://unpkg.com/@printcart/shopify-integration-sdk/dist/main.js"></script>;
```

<a href="https://printcart.com">
<img src="https://www.printcart.com/_next/static/image/src/common/assets/image/appModern/printcart-logo.db99b3d8b92bca6ff946c0869b114589.png" alt="Printcart" width="200px" />
</a>
npm package: @printcart/wix-integration
Description: Printcart Designer SDK for Wix.
Author: Printcart
Latest version: 1.1.16

Add [Printcart Designer](https://printcart.com) to your Wix Store.

## Usage

Add CSS file to header:

```html
<link
  href="https://unpkg.com/@printcart/wix-integration/dist/style.css"
  rel="stylesheet"
/>
```

Add JS file before the closing body tag:

```html
<script src="https://unpkg.com/@printcart/wix-integration/dist/main.js"></script>
```

## Options

Add `window.PrintcartDesignerShopifyOptions` variable before our script tag to customize the default UI or extend default functionality:

```js
window.PrintcartDesignerShopifyOptions = {
  designBtnText: "",
  editBtnText: "",
  onCreateSuccess: (data, context) => {},
  onEditSuccess: (data, context) => {},
};

<script src="https://unpkg.com/@printcart/wix-integration/dist/main.js"></script>;
```

### `designBtnText`

- Type: string

Change the Start Design button text

### `editBtnText`

- Type: string

Change the Edit Design button text

### `onCreateSuccess`

- Type: (data) => void

A function run when the design file finish uploaded.

### `onEditSuccess`

- Type: (data) => void

A function run when the design file finish editted.

**Example**

```js
window.PrintcartDesignerShopifyOptions = {
  designBtnText: "Custom Start Design Text",
  editBtnText: "Custom Edit Design Text",
  onCreateSuccess: (data) => console.log(data),
  onEditSuccess: (data) => console.log(data),
};

<script src="https://unpkg.com/@printcart/wix-integration-sdk/dist/main.js"></script>;
```

<a href="https://printcart.com">
<img src="https://www.printcart.com/_next/static/image/src/common/assets/image/appModern/printcart-logo.db99b3d8b92bca6ff946c0869b114589.png" alt="Printcart" width="200px" />
</a>
npm package: @printersystems/cli
Description: The CLI for printer.systems
Author: Adam Brady
Latest version: 0.0.2

# oclif-hello-world

oclif example Hello World CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
[![CircleCI](https://circleci.com/gh/oclif/hello-world/tree/main.svg?style=shield)](https://circleci.com/gh/oclif/hello-world/tree/main)
[![Downloads/week](https://img.shields.io/npm/dw/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
[![License](https://img.shields.io/npm/l/oclif-hello-world.svg)](https://github.com/oclif/hello-world/blob/main/package.json)

<!-- toc -->
* [oclif-hello-world](#oclif-hello-world)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g @printersystems/cli
$ cli COMMAND
running command...
$ cli (--version)
@printersystems/cli/0.0.2 darwin-arm64 node-v16.15.0
$ cli --help [COMMAND]
USAGE
  $ cli COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`cli auth`](#cli-auth)
* [`cli help [COMMAND]`](#cli-help-command)
* [`cli logout`](#cli-logout)
* [`cli sync`](#cli-sync)
* [`cli whoami`](#cli-whoami)

## `cli auth`

Determine the currently authenticated user

```
USAGE
  $ cli auth [--api-key <value>]

FLAGS
  --api-key=<value>  API Key you wish to use to authenticate

DESCRIPTION
  Determine the currently authenticated user

EXAMPLES
  $ printsys auth
```

_See code: [dist/commands/auth/index.ts](https://github.com/printer-systems/cli/blob/v0.0.2/dist/commands/auth/index.ts)_

## `cli help [COMMAND]`

Display help for cli.

```
USAGE
  $ cli help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for cli.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.15/src/commands/help.ts)_

## `cli logout`

Remove authentication token

```
USAGE
  $ cli logout

DESCRIPTION
  Remove authentication token

EXAMPLES
  $ printsys logout
```

_See code: [dist/commands/logout/index.ts](https://github.com/printer-systems/cli/blob/v0.0.2/dist/commands/logout/index.ts)_

## `cli sync`

Sync slicer profiles to printer.systems

```
USAGE
  $ cli sync

DESCRIPTION
  Sync slicer profiles to printer.systems

EXAMPLES
  $ printsys sync
```

_See code: [dist/commands/sync/index.ts](https://github.com/printer-systems/cli/blob/v0.0.2/dist/commands/sync/index.ts)_

## `cli whoami`

Determine the currently authenticated user

```
USAGE
  $ cli whoami

DESCRIPTION
  Determine the currently authenticated user

EXAMPLES
  $ printsys whoami
```

_See code: [dist/commands/whoami/index.ts](https://github.com/printer-systems/cli/blob/v0.0.2/dist/commands/whoami/index.ts)_
<!-- commandsstop -->
npm package: @printf83/bsts
Description: Bootstrap TS builder
Author: Hamzah A
Latest version: 1.1.1

# bsts

Maybe this is the stupid way to generate HTML, but, this is the way I learn. 
This library is just to create bootstrap 5.3 HTML but in TS way.

example :

```
import {core, b, h} from "@printf83/bsts";

core.documentReady(() => {
	let body = document.getElementById("main") as Element;
	core.replaceChild(body, new h.div([
        new h.p("This is example p tag"),
        new h.p({lead:true,data:{test:"test-data"}},"This is example p tag with attribute"),
        new b.button({id:"btn1",color:"primary"},"Button"),
    ]));
});
```

Check [bsts testing website](https://printf83.github.io/bsts-test/) or [github](https://github.com/printf83/bsts-test) for more example code
Update : 21/07/2023
npm package: @printgraph/js-sdk
Description: Printgraph API library for JavaScript/TypeScript.
Latest version: 1.0.0

# Printgraph JS SDK

Printgraph API library for JavaScript/TypeScript.

## Installation

```shell
npm install @printgraph/js-sdk
npm add @printgraph/js-sdk
```

## Usage

```typescript
import { Printgraph } from "@printgraph/js-sdk";

const client = new Printgraph(process.env.PRINTGRAPH_TOKEN);
const buf: ArrayBuffer = await client.generatePDF({
  template: "hello",
  params: {
    name: "world",
  },
});

require("fs").writeFileSync("hello_world.pdf", buf);
```
npm package: @printify/react-ui-kit
Description: Printify react-ui-kit
Author: olefirenk@gmail.com
Latest version: 1.1.3
Deprecated: Use @printify/ui-kit instead

# react-ui-kit
[![Build Status](https://travis-ci.org/printify/react-ui-kit.svg?branch=master)](https://travis-ci.org/printify/react-ui-kit)

## Development

- `$ yarn`
- `$ yarn start`



## Build web-fiendly project like an uikit to host on the server

- `$ yarn`
- `$ yarn build:web`



## Build project like a package to be published in npm

- `$ yarn`
- `$ yarn build`

after that will be created folders es6, commonjs, types, styles
npm package: @printify/ui-kit
Description: Printify ui-kit
Author: olefirenk@gmail.com
Latest version: 1.0.4
Deprecated: WARNING: This project has been renamed to @printify/ui-kit-old. Install using @printify/ui-kit-old instead.

# ui-kit
[![Build Status](https://travis-ci.org/printify/ui-kit.svg?branch=master)](https://travis-ci.org/printify/ui-kit)

## Getting started

### Install dependencies

- Install `yarn add jquery` or `npm install jquery --save`.
- Install jquery typings in case you use typescript `yarn add @types/jquery` or `npm install jquery --save`
- Install ui-kit `yarn add @printify/ui-kit` or `npm install @printify/ui-kit --save`


### Usage

- import package to your `index.ts` file

```
import '@printify/ui-kit'
```

- import styles to your style.scss

```
@import('@printify/ui-kit/dist/styles.min.css')
```


## Development

- `$ yarn`
- `$ yarn start`


## Build a project that will be published to npm

- `$ yarn`
- `$ yarn build`
npm package: @printloop/frame-sync
Description: Minimal iframe synchronization for React with Zod validation
Author: Kristian Muniz
Latest version: 0.2.0

# `@printloop/frame-sync`

A minimal iframe synchronization library for React with runtime type checking via Zod.

> **NOTE**
> I thought about this API for half a second, so it's probably not the best. I haven't even written tests for it yet. Use at your own risk.

## Installation

```bash
npm install --save @printloop/frame-sync
```

## Usage

### Host

1. Create a Zod schema for the data you want to pass to the guest
2. Create a `GuestFrame` component with the schema and the URL of the guest
3. Pass the data to the `GuestFrame` component as props

```tsx
import { z } from 'zod';
import { getGuestFrame } from '@printloop/frame-sync';

const schema = z.object({
  name: z.string(),
  age: z.number(),
  email: z.string().optional(),
});

const GuestFrame = getGuestFrame({
  schema,
  // the URL of the guest
  src: "https://guest-url.com/path/to/page",
  // the origin of the guest
  targetOrigin: "https://guest-url.com",
});

<GuestFrame name="Randall" age={50} email="randall@printloop.dev" />;
```

### Guest

1. Create a Zod schema for the data you expect to receive from the host
2. Create a `Host` object with the schema, the origin of the host, and initial state to use before the host sends data
3. Consume the data from the `Host` through `useHostProps`

```tsx
import { z } from 'zod';
import { getHost } from '@printloop/frame-sync';

const schema = z.object({
  name: z.string(),
  age: z.number(),
  email: z.string().optional(),
});

const { useHostProps } = getHost({
  schema,
  // the origin of the host
  targetOrigin: "http://host-url.com",
  // initial state to use before the host sends data
  initial: {
    name: "Alex",
    age: 50,
    email: "alex@example.com"
  }
});

export function SomeGuestComponent () {
  const { name, age, email } = useHostProps(Host.Context);

  return (
    <div>
      <p>Name: {name}</p>
      <p>Age: {age}</p>
      <p>Email: {email}</p>
    </div>
  );
}
```

## License

[MIT](LICENSE)

© 2023 [Kristian Muñiz](https://krismuniz.com)
npm package: @printurmessages/escpos-image-processor
Description: An open source image processor for escpos-compatable printers
Author: William Gibson
Latest version: 1.2.0

# @printurmessages/escpos-image-processor
A library that converts an image into an escpos-printable image

## Installation
This library is available on the [NPM registry](https://www.npmjs.com/package/@printurmessages/escpos-image-processor). To install, run

```
npm install @printurmessages/escpos-image-processor --save
```
If you're using [Yarn](https://yarnpkg.com), run
```
yarn add @printurmessages/escpos-image-processor
```

## Usage

```javascript
// Import the package
import ESCPOSImageProcessor from '@printurmessages/escpos-image-processor'

// Create an instance of the class
const processor = new ESCPOSImageProcessor({
    width: 185, /* optional, defaults to 185 (default 40mm printer roll width in px) */
    quality: 'best' /* optional, defaults to 'best' (slowest). another option is 'good', which is faster but produces worse results */
})

// Put the path to your image in the first parameter ('.in.png') and put the location where the image should be saved in the second parameter ('./processed.png').
processor.convert('./in.png', './processed.png').then(path => {
    // The callback will return the path if all went well, if there was an error it will return 'false'.
    if(path)
        console.log(`Processed image saved to ${path}`)
    else
        console.log('An Error Occurred')
}).catch(error => console.error(error))
```
## Usage with `escpos`
If you wish to use `escpos-image-processor` with the `escpos` module, look at the example below:

```javascript
import escpos from 'escpos'
import ESCPOSImageProcessor from '@printurmessages/escpos-image-processor'

const device  = new escpos.USB()
const printer = new escpos.Printer(device)

const processor = new ESCPOSImageProcessor({
    width: 185,
    quality: 'best'
})

processor.convert('./in.png', './processed.png').then(path => {
    if(path) {
        console.log(`Processed image saved to ${path}, printing...`)

        processor.print(device, printer)
    } else
        console.log('An Error Occurred')
}).catch(error => console.error(error))
```

## License
`escpos-image-processor` is licensed under the MIT License.