open-index/open-npm huggingface dataset:
npm package: @stefanzoid/sc-decoder
Description: Smart Contracts Decoder
Author: zoidpay
Latest version: 3.1.0

# sc-decoder

![npm (scoped)](https://img.shields.io/npm/v/@stefanzoid/sc-decoder)

## Example

``` javascript
const { decode } = require('@stefanzoid/sc-decoder')

const scAddress = "erd1qqqqqqqqqqqqqpgqd06v3r6r94hgyarcar27hkexamh50u283tpqlyspkr";
const funcName = "getStaking";
const struct = {
    "pool_id": "Address",
    "staked_amount": "BigUint",
    "timestamp": "u64",
    "months": "u16",
    "is_pool": "bool",
    "address": "Address"
};
const type = "VecMapper<struct>";
const args = ["df1262d8e96f1f24ffff170e6eb5be6b0fd9fa7fb1dc53dc71b2822c42fc7ed4"];
const result = await decode(scAddress, funcName, struct, type, args);
```

## Use cases:

---
**NOTE**
Please adapt to the example above!
---

### Single value || SingleValueMapper:

```json5
{
  "scAddress": "erd1qqqqqqqqqqqqqpgqd06v3r6r94hgyarcar27hkexamh50u283tpqlyspkr",
  "funcName": "getPoolLimit",
  "struct": {},
  "type": "u32",
  "args": []
}
```

If single value === struct:

```json5
{
  "scAddress": "erd1qqqqqqqqqqqqqpgqd06v3r6r94hgyarcar27hkexamh50u283tpqlyspkr",
  "funcName": "getPool",
  "struct": {
    "id": "Address",
    "owner": "Address",
    "total_staked": "BigUint",
    "zoidsters": "u32",
    "name": "String",
    "status": "u8"
  },
  "type": "struct",
  "args": [
    "df1262d8e96f1f24ffff170e6eb5be6b0fd9fa7fb1dc53dc71b2822c42fc7ed4"
  ]
}
```

# VecMapper

```json5
{
  "scAddress": "erd1qqqqqqqqqqqqqpgqd06v3r6r94hgyarcar27hkexamh50u283tpqlyspkr",
    "funcName": "getStaking",
    "struct": {
        "pool_id": "Address",
        "staked_amount": "BidUint",
        "timestamp": "u64",
        "months": "u16",
        "is_pool": "bool",
        "address": "Address"
    },
    "type": "VecMapper<struct>",
    "args": [
        "df1262d8e96f1f24ffff170e6eb5be6b0fd9fa7fb1dc53dc71b2822c42fc7ed4"
    ]
}
```

# MapMapper

```json5
{
  "scAddress": "erd1qqqqqqqqqqqqqpgqd06v3r6r94hgyarcar27hkexamh50u283tpqlyspkr",
  "funcName": "getPools",
  "struct": {
    "id": "Address",
    "owner": "Address",
    "total_staked": "BigUint",
    "zoidsters": "u32",
    "name": "String",
    "status": "u8"
  },
  "type": "MapMapper<Address, struct>",
  "args": []
}
```

## License [MIT](LICENSE)
npm package: @stefanzweifel/esbuild-mix-manifest-plugin
Description: esbuild plugin to generate a mix-manifest.json file inspired by Laravel Mix.
Author: Stefan Zweifel
Latest version: 0.2.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# esbuild-mix-manifest-plugin

[![Tests](https://github.com/stefanzweifel/esbuild-mix-manifest-plugin/actions/workflows/run-tests.yml/badge.svg)](https://github.com/stefanzweifel/esbuild-mix-manifest-plugin/actions/workflows/run-tests.yml)

An [esbuild](https://esbuild.github.io/) plugin to generate a `mix-manifest.json` compatible with [Laravel Mix](https://laravel.com/docs/master/mix#versioning-and-cache-busting).

## Installation

You can install the plugin via npm or yarn:

```bash
npm install @stefanzweifel/esbuild-mix-manifest-plugin --save-dev
yarn add @stefanzweifel/esbuild-mix-manifest-plugin --dev
```

## Usage

Load the `mixManifestPlugin` in your `esbuild.js`, `build.js` (or whatever you call it) and pass it to the `plugins` option of `esbuild.build()`.

You MUST set the `outdir` and `outbase` config values accordingly.
`metafile` MUST be set to true, for the plugin to work.

```js
// build.js
const esbuild = require('esbuild')
const mixManifestPlugin = require('@stefanzweifel/esbuild-mix-manifest-plugin')

esbuild.build({
    // Define entrypoints to be bundled.
    entryPoints: {
        'css/main': 'resources/css/main.css',
        'js/main': 'resources/js/main.js',
    },

    // Define output directory and output base.
    // The JS and CSS file above will be place in 
    // `source/assets/build/css/main.css`
    // `source/assets/build/js/main.js`
    outdir: 'source/assets/build',
    outbase: 'source/assets/build',

    // Required for the plugin to work
    metafile: true,

    plugins: [
        mixManifestPlugin({
            // Options
            filename: 'mix-manifest.json'
        }),
    ],
});
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Stefan Zweifel](https://github.com/stefanzweifel)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
npm package: @stefanzweifel/js-swiss-cantons
Description: Search for Swiss Canton by abbreviation or name
Author: Stefan Zweifel
Latest version: 1.2.0

# 🇨🇭 js-swiss-cantons

<p align="center">
    <a href="https://travis-ci.org/stefanzweifel/js-swiss-cantons" title="Build Status">
        <img src="https://travis-ci.org/stefanzweifel/js-swiss-cantons.svg?branch=master" alt="Build Status">
    </a>
</p>

Find Swiss canton by it's abbreviation or name. (This is a port of [php-swiss-cantons](https://github.com/stefanzweifel/php-swiss-cantons))

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites

In order to work on this package you should have `npm`, `yarn` and `ava` installed globally.

```shell
git clone https://github.com/stefanzweifel/js-swiss-cantons.git
```

### Installing

You should install the package with `yarn` or `npm` in your project.

```shell
npm install @stefanzweifel/js-swiss-cantons
```

### Usage

Currently there are two methods available on the CantonManager Class: `getByAbbreviation` and `getByName`.

```javascript
import CantonManager from '@stefanzweifel/js-swiss-cantons';

let manager = new CantonManager();
let canton = manager.getByAbbreviation('SH');
let canton = manager.getByName('Schaffhausen');

console.log(
  canton.setLanguage('de').getName() // Schaffhausen
);
```

The ZipcodeSearch class can be used to find cantons by zipcode, be careful, it imports the entire zipcode dataset (~290kb).

```javascript
import ZipcodeSearch from '@stefanzweifel/js-swiss-cantons/src/ZipcodeSearch';

let search = new ZipcodeSearch();

let location = search.findbyZipcode('1201'); // Search by string
let location = search.findbyZipcode(8001); // Search by number

// Returns an object of the locality:
// {
//   "city_name": "Zürich",
//   "zipcode": 8001,
//   "community_name": "Zürich",
//   "canton": "ZH"
// }

You can also retrieve the whole dataset like this:
let locations = search.getDataSet();
```

End with an example of getting some data out of the system or using it for a little demo

## Running the tests

Tests are written with [ava](https://github.com/avajs/ava).

```shell
npm run test
```

## Deployment

```shell
npm update patch | minor | major
npm publish
```

## Built With

- [ava](https://github.com/avajs/ava) - Test Framework
- [nyc](https://github.com/istanbuljs/nyc) - Code Coverage

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/2media/js-regio-parameters/releases).

## Authors

- **Stefan Zweifel** - _Initial work_ - [stefanzweifel](https://github.com/stefanzweifel)

See also the list of [contributors](https://github.com/stefanzweifel/js-swiss-cantons/contributors) who participated in this project.

## Acknowledgments

- [php-swiss-cantons](https://github.com/stefanzweifel/php-swiss-cantons)
npm package: @stefcud/fetch-dom
Description: Library for Nodejs that retrieve the DOM from a remote html page.
Author: Stefano Cudini
Latest version: 1.3.5

# fetch-dom
Library for Nodejs that retrieve the DOM and global vars from a remote html page.

[![npm version](https://badge.fury.io/js/node-fetch-dom.svg)](https://badge.fury.io/js/node-fetch-dom)

*Licensed under the MIT license.*

*Copyright [Stefano Cudini](https://opengeo.tech/stefano-cudini/)*

## Source code
[Github](https://github.com/stefanocudini/node-fetch-dom)
[NPM](https://npmjs.org/package/fetch-dom)

# Usage
## Install in command line

```bash
$ npm install -g @stefcud/fetch-dom
```
**run command**
parameters is a url page and a global variable name
```bash
$ fetchdom https://opengeo.tech/index.html allTags
```
the output is a json

**html in remote page**
```html
<script>
var allTags = {"ajax":0,"bash":0,"bootstrap":0,"crawler":0,"css3":0,"cv":0,"debian":0,"developer":0,"dom":0,"fetch":0,"geojson":0,"geosocial":0,"gis":0,"gps":0,"gpx":0,"gruntjs":0, .... 
</script>
```

## Usage
```bash
$ npm install --save fetch-dom 
```

## Integrate in your code
```javascript

var fetchdom = require('@stefcud/fetch-dom');

/*
  by default return the window object
*/
fetchdom('https://opengeo.tech/', function(window) {

	console.log(window.document.body);
});

/*
  specify sub property of default DOM
*/
fetchdom('https://opengeo.tech/', 'location.href', function(href) {

	console.log(href);

});

/*
  parsing of global remote variables (in remote page is defined window.allTags = {...}; )
*/
fetchdom('https://opengeo.tech/', 'allTags', function(tags) {

	console.log(tags);

});
```
npm package: @steffbeckers/code-gen-ng-bs
Description: A code generator for Angular Bootstrap projects, based on OData metadata.
Author: Steff Beckers
Latest version: 0.0.7

# Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

### Testing

To test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI, but also has a debug mode.

Check the documentation with

```bash
schematics --help
```

### Unit Testing

`npm run test` will run the unit tests, using Jasmine as a runner and test framework.

### Publishing

To publish, simply do:

```bash
npm run build
npm publish
```

That's it!
npm package: @steffbeckers/code-gen-ng-mat
Description: A code generator for Angular Material projects.
Author: Steff Beckers
Latest version: 0.0.3

# Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

### Testing

To test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI, but also has a debug mode.

Check the documentation with
```bash
schematics --help
```

### Unit Testing

`npm run test` will run the unit tests, using Jasmine as a runner and test framework.

### Publishing

To publish, simply do:

```bash
npm run build
npm publish
```

That's it!
npm package: @steffen_reanmo/eslint-config-vue
Description: eslint config for projects written in vue + typescript
Latest version: 1.0.2

# eslint-config-vue-reanmo

> **Sharable ESLint config with TypeScript, Vue, Prettier, and Tailwind CSS for ESLint 9+**

This package provides a shareable ESLint configuration for projects using **Vue** and **TypeScript**, along with **Prettier** integration. It includes sensible defaults and strict linting rules to improve code quality and consistency.

## Features

- **ESLint 9+**: Compatible with the latest version of ESLint.
- **Vue Support**: Integrates `eslint-plugin-vue` with recommended and custom settings for Vue files.
- **TypeScript Support**: Configures `@typescript-eslint` for stricter type safety and better code style enforcement.
- **Tailwind CSS Support**: Uses `eslint-plugin-tailwindcss` exclusively to enforce the correct order of Tailwind CSS classes.
- **Prettier Integration**: Uses `eslint-config-prettier` to avoid conflicts between Prettier and ESLint formatting rules.
- **Unused Imports**: Automatically removes unused imports with `eslint-plugin-unused-imports`.

## Installation

First, install the package and its peer dependencies:

```bash
npm install @steffen_reanmo/eslint-config-vue eslint prettier typescript eslint-plugin-vue typescript-eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-tailwindcss eslint-plugin-unused-imports --save-dev
```

## Usage

Once you’ve installed the necessary dependencies, you can configure ESLint by creating an `eslint.config.js` file in your project’s root directory:

```javascript
import eslintConfigReanmo from '@steffen_reanmo/eslint-config-vue';

export default [
  ...eslintConfigReanmo, // Add the shared config here
];
npm package: @steffenkabus/node-youtube-music
Description: Unofficial YouTube Music API for Node.js
Author: Baptiste Arnaud
Latest version: 0.11.2

<p align="center">
    <img width="400" alt="typescript-starter dark logo" src="https://user-images.githubusercontent.com/16015833/103463862-d9ee3200-4d2f-11eb-96d2-e02f5a5c9637.png" style="max-width:100%;">

<h2 align="center">
    Unofficial YouTube Music API for Node.js
</h2>

Based on the work of [baptisteArno](https://github.com/baptisteArno/node-youtube-music).

<p align="center">
  <a href="https://www.npmjs.com/package/node-youtube-music">
    <img src="https://img.shields.io/npm/v/node-youtube-music.svg" alt="version" />
  </a>
  <a href="https://npmjs.org/package/node-youtube-music">
    <img src="https://img.shields.io/npm/dm/node-youtube-music.svg" alt="downloads" />
  </a>
   <a href="https://packagephobia.now.sh/result?p=node-youtube-music">
    <img src="https://packagephobia.now.sh/badge?p=node-youtube-music" alt="install size" />
  </a>
</p>

## Features

- [x] Search
  - [x] Musics
  - [x] Playlists
  - [x] Albums
  - [x] Artists
- [x] List musics from playlist
- [x] List musics from album
- [x] List albums from artist
- [x] List musics from artist
- [x] Get suggestions from music
- [ ] Playlist management (create, push, remove)
- [ ] Library management

## Get started

```shell
npm install node-youtube-music
```

or

```shell
yarn add node-youtube-music
```

## How to use

```ts
import {
  searchMusics,
  searchAlbums,
  searchPlaylists,
  getSuggestions,
  listMusicsFromAlbum,
  listMusicsFromPlaylist,
  searchArtists,
  getArtist,
} from 'node-youtube-music';

const musics = await searchMusics('Never gonna give you up');

const albums = await searchAlbums('Human after all');

const playlists = await searchPlaylists('Jazz');

const suggestions = await getSuggestions(musics[0].youtubeId);

const albumSongs = await listMusicsFromAlbum(albums[0].albumId);

const playlistSongs = await listMusicsFromPlaylist(playlists[0].playlistId);

const artists = await searchArtists('Daft Punk');

const artist = await getArtist(artists[0].artistId);
```
npm package: @steffesgroup/common
Description: Made with create-react-library
Author: Jakob Winningham
Latest version: 2.0.45

# @steffesgroup/constants

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@steffesgroup/constants.svg)](https://www.npmjs.com/package/@steffesgroup/constants) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
yarn add @steffesgroup/constants
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@steffesgroup/constants'
import '@steffesgroup/constants/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [@jake4e](https://github.com/@jake4e)
npm package: @steffesgroup/constants
Description: Made with create-react-library
Author: Jakob Winningham
Latest version: 0.0.1

# @steffesgroup/constants

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@steffesgroup/constants.svg)](https://www.npmjs.com/package/@steffesgroup/constants) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @steffesgroup/constants
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@steffesgroup/constants'
import '@steffesgroup/constants/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [@jake4e](https://github.com/@jake4e)
npm package: @steffesgroup/contexts
Description: Made with create-react-library
Author: Jakob Winningham
Latest version: 2.0.45

# @steffesgroup/contexts

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@steffesgroup/contexts.svg)](https://www.npmjs.com/package/@steffesgroup/contexts) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
yarn add @steffesgroup/contexts
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@steffesgroup/contexts'
import '@steffesgroup/contexts/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [@jake4e](https://github.com/@jake4e)
npm package: @steffesgroup/helpers
Description: Made with create-react-library
Author: Jakob Winningham
Latest version: 0.0.1

# @steffesgroup/helpers

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/@steffesgroup/helpers.svg)](https://www.npmjs.com/package/@steffesgroup/helpers) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @steffesgroup/helpers
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@steffesgroup/helpers'
import '@steffesgroup/helpers/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [@jake4e](https://github.com/@jake4e)
npm package: @steffesgroup/native
Description: test
Author: Jakob Winningham
Latest version: 2.0.5

# @steffesgroup/native

Native Packages

## Installation

```sh
npm install @steffesgroup/native
```

## Usage

```js
import { NativeView } from "@steffesgroup/native";

// ...

<NativeView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @steffesgroup/react
Description: React Components
Author: @jake4e
Latest version: 2.0.45

# components

> React Components

[![NPM](https://img.shields.io/npm/v/components.svg)](https://www.npmjs.com/package/components) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
yarn add components
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from 'components'
import 'components/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [@jake4e](https://github.com/@jake4e)