open-index/open-npm huggingface dataset:
npm package: @montjoyplaces/sdk
Description: Official JavaScript SDK for the Montjoy Places API.
Author: Montjoy
Latest version: 1.0.2

# MontjoyPlaces JavaScript SDK

Official JavaScript SDK for the Montjoy Places API with bundled TypeScript definitions.

- Homepage: https://montjoyplaces.com
- Support: paul@montjoyapp.com
- License: MIT

## React integration

The core SDK is framework-agnostic. The React Leaflet wrapper lives in the companion package `@montjoyplaces/react-leaflet`.
npm package: @montra-connect/dbc-parser
Description: A general purpose CAN (Controller Area Network) toolbox with support for .dbc file parsing, CAN message decoding, and more
Author: Derek Black
Latest version: 0.0.4

# @montra-connect/dbc-parser

A general-purpose CAN (Controller Area Network) toolbox with support for `.dbc` file parsing, CAN message decoding, and more.

## Table of Contents

- [Installation](#installation)
- [Features](#features)
- [Usage](#usage)
- [Build](#build)
- [Testing](#testing)
- [Linting](#linting)
- [License](#license)

## Installation

Install the package via npm:

```bash
npm install @montra-connect/dbc-parser
```

## Features

- Parse `.dbc` files to extract CAN message definitions.
- Decode CAN messages using the parsed definitions.
- Filesystem-based `.dbc` file reading support.
- Utilities for working with CAN messages and databases.

## Usage

### Importing the Package

```javascript
import { Can, Dbc } from '@montra-connect/dbc-parser';
import dbcReader from '@montra-connect/dbc-parser/lib/filesystem/DbcReader';
```

### Parsing a DBC File

```javascript
const canDB = new Can();
const dbc = new Dbc();

// Read the DBC file content (replace 'path/to/your/file.dbc' with your actual DBC file path)
const result = await dbcReader('path/to/your/file.dbc');

// Load the DBC content into the Dbc instance
const res = dbc.load(result.toString());

// Now you can use the 'canDB' and 'dbc' instances for decoding CAN messages
```

### Decoding a CAN Message

```javascript
// Assuming you have a CAN message to decode
const canMessage = {
  id: 0x123,
  data: Buffer.from([0x00, 0x01, 0x02, 0x03, 0x04, 0x05])
};

// Decode the message using the DBC definitions
const decodedMessage = canDB.decode(canMessage);

console.log(decodedMessage);
```

## Build

To build the package, run:

```bash
npm run build
```

This will compile the TypeScript source files into JavaScript.

## Testing

To run the test suite:

```bash
npm run test
```

This command will execute all test cases to ensure the package works as expected.

## Linting

To check the code for linting errors:

```bash
npm run lint
```

This command will run ESLint on the codebase to ensure code quality and consistency.

## License

This project is licensed under the [MIT License](LICENSE).

---

Feel free to contribute to the project or report any issues you encounter.
npm package: @montra/sdk
Description: The official Montra SDK for Node.js and Browser
Author: Montra
Latest version: 0.1.0

# @montra/sdk

The official Montra SDK for Node.js, React, Next.js, and Express.

## Installation

```bash
npm install @montra/sdk
```

## Usage

### Server-side (Node.js / Next.js Server Actions)

The `Montra` class is designed for server-side environments.

```typescript
import { Montra } from '@montra/sdk';

const montra = new Montra({
  apiKey: process.env.MONTRA_API_KEY
});

// Use in Server Actions or API routes
export async function getInvoices() {
  return await montra.listInvoices();
}
```

### Express Middleware

```typescript
import express from 'express';
import { montraMiddleware } from '@montra/sdk';

const app = express();

app.use(montraMiddleware({
  apiKey: 'your_api_key'
}));

app.get('/billing', async (req, res) => {
  // Access the client via req.montra
  const invoices = await req.montra.listInvoices();
  res.json(invoices);
});
```

### React / Next.js Client Side

#### Setup Provider

```tsx
// For Next.js App Router, add 'use client' if this is in a layout
import { MontraProvider } from '@montra/sdk';

function App({ children }) {
  return (
    <MontraProvider publishableKey="your_pk">
      {children}
    </MontraProvider>
  );
}
```

#### Use Hook or Component

```tsx
import { useMontra, PaymentElement } from '@montra/sdk';

function Checkout() {
  const montra = useMontra();
  
  const handleLegacyMount = async () => {
    const checkout = await montra.initializeCheckout('session_123');
    checkout.mount('#container');
  };

  return (
    <div>
      <PaymentElement sessionId="session_123" />
    </div>
  );
}
```

## Features

- **Next.js Support**: Includes `'use client'` directives for App Router compatibility.
- **Express Integration**: Built-in middleware for easy access to the SDK in your routes.
- **React Hooks**: First-class support for React with `MontraProvider` and `useMontra`.
- **Unified Package**: One SDK for both client-side checkout and server-side billing logic.

## License

MIT
npm package: @montyanderson/greenman
Description: View manager for Mustache templates using hogan.js.
Author: Monty Anderson
Latest version: 0.0.2

# greenman

[![Build Status](https://travis-ci.org/montyanderson/greenman.svg?branch=master)](https://travis-ci.org/montyanderson/greenman) [![dependencies Status](https://david-dm.org/montyanderson/greenman/status.svg)](https://david-dm.org/montyanderson/greenman) [![devDependencies Status](https://david-dm.org/montyanderson/greenman/dev-status.svg)](https://david-dm.org/montyanderson/greenman?type=dev)

View manager for [Mustache](https://mustache.github.io/) templates using [hogan.js](https://twitter.github.io/hogan.js/).

```
npm install @montyanderson/greenman
```

``` javascript
const $ = require("jquery");
const Greenman = require("@montyanderson/greenman");

const dashboard = new Greenman(`
	{{#user}}
		<h1>Hi, {{user}}!</h1>
	{{/user}}

	{{^user}}
		Welcome aboard!
	{{/user}}
`, (rendered) => {
	$(".dashboard").html(rendered);
});

dashboard.render({ user: "Monty! "});

```

Please go to the [Github repository](https://github.com/montyanderson/greenman) for more up-to-date information.
npm package: @monukanyal/multiple-email-input
Description: A library for multiple email tag input field
Author: Monu kanyal
Latest version: 1.0.3

# my-vue-library

## Installation and Usage
1. Just use `npm install --save @monukanyal/multiple-email-input`
2. next step:
``` App.vue
import TagInput from './components/TagInput.vue'

export default {
  name: 'App',
  components: {
    'tag-input':TagInput
  },
  data () {
    return {
      inputs:{
        emails: [],
        invalid: false
      } 
    }
  },
  methods: {
    getEmailInputs(inputs) {
      this.inputs = inputs
    }
  }
}
```
3. use like this:
```
 <tag-input v-on:getInputs="getEmailInputs"></tag-input>
```
npm package: @monument-no/types-content-api
Description: The Typescript types for the GQL API
Latest version: 0.0.3


# Schema for the GQL API

This repo contains the typscript definitons for the api so that they can be included using npm in other repos that consume the api.

# Development

You need the repo for the [monument-no/gql-api](https://github.com/monument-no/gql-api) in the same directory as this repo.

### Generating types

This command will use the types found in `../gql-api/src/schema/definitions/*.graphql` and use the library `graphql-schema-typescript` to generate a `índex.d.ts` in this repo.

```
npm run generate
```

### Publishing

Publish package to npm org monument-no. You have to be invited to the org on npm to do so. Ask in slack if you need this.

```
npm publish --access public
```


### Requiring

```typescript
import { GQLArticle, GQLTrack } from '@monument-no/gql-api-types'
```
npm package: @monument/assert
Description: Assertion framework
Latest version: 0.15.2

# Title

TLDR

| Service | Status |
| :------ | :----- |
| NPM Downloads | ![NPM Downloads](https://img.shields.io/npm/dm/@monument/core.svg) |
| NPM Dependencies | ![Dependencies Status](https://david-dm.org/monument/core.svg) |
| Monorepo | ![lerna](https://img.shields.io/badge/maintained%20with-lerna-44cc44.svg) |


# Description

Long description


## Contribution

Feel free to make pull-requests.
Your help is always welcome.


## License

MIT
npm package: @monument/core
Description: Basic functions and types
Latest version: 0.29.1

## `@monument/core`

A set of pure functions and types useful in any application.

[![Build](https://img.shields.io/github/workflow/status/monumentjs/workspace/Release?logo=typescript&logoColor=white)](https://github.com/monumentjs/workspace/actions)
[![Test](https://img.shields.io/github/workflow/status/monumentjs/workspace/Release?logo=jest&label=test)](https://github.com/monumentjs/workspace/actions)
[![Lint](https://img.shields.io/github/workflow/status/monumentjs/workspace/Release?logo=eslint&label=lint)](https://github.com/monumentjs/workspace/actions)
[![License](https://img.shields.io/github/license/monumentjs/workspace?logo=github)](/LICENSE)
[![NPM weekly downloads](https://img.shields.io/npm/dw/@monument/core?logo=npm)](https://www.npmjs.com/package/@monument/core)
[![NPM version](https://img.shields.io/npm/v/@monument/core?logo=npm&label=version&logoColor=white)](https://www.npmjs.com/package/@monument/core)


## Documentation

[`API Reference`](https://monumentjs.github.io/workspace/modules/_monument_core.html)

## License

MIT
npm package: @monument/date
Description: Date and time manipulation
Latest version: 0.15.2

# Title

TLDR

| Service | Status |
| :------ | :----- |
| NPM Downloads | ![NPM Downloads](https://img.shields.io/npm/dm/@monument/core.svg) |
| NPM Dependencies | ![Dependencies Status](https://david-dm.org/monument/core.svg) |
| Monorepo | ![lerna](https://img.shields.io/badge/maintained%20with-lerna-44cc44.svg) |


# Description

Long description


## Contribution

Feel free to make pull-requests.
Your help is always welcome.


## License

MIT