open-index/open-npm huggingface dataset:
npm package: @salvagr/create-next-template
Description: A simple CLI to create Next.js template with a few options
Author: salvagr
Latest version: 2.0.0

# Create next template

`create next template` is a CLI tool to create a Next.js template with [shadcn/ui](https://twitter.com/shadcn) components.

> Both templates are updated to the latest version of Next.js (13.4)

## Options

- The `TypeScript` template is generated from [here](https://github.com/salvaoo/Next-template-typescript).
- The `JavaScript` template is generated from [here](https://github.com/salvaoo/Next-template-javascript)

You also can choose a name for your project.

## Usage

You can run this CLI with `npx`, 

```bash
npx @salvagr/create-next-template
```

When you ran the command, you will be asked to choose between `TypeScript` or `Javascript` template. After that, you will be asked to choose a name for your project. 

The CLI will create a folder with the name you have chosen, clone the template inside it and **clean** up the git folder.

## Mention

Thanks to [@shadcn](https://twitter.com/shadcn) for the amazing [template](https://github.com/shadcn/next-template) and [components](https://ui.shadcn.com).
npm package: @salvium-tools/salvium-metamask-snap
Description: Salvium wallet support for MetaMask.
Latest version: 0.1.0
Deprecated: Archived prototype: MetaMask requires review and a formal audit for this Snap's key-management permissions. Do not use as a production Salvium wallet integration.

# Salvium Wallet Snap

MetaMask Snap for Salvium wallet support.

This package is an early development build. It embeds the Salvium WASM wallet core and exposes a small JSON-RPC API for the companion dapp at:

```text
https://salvium.tools/metamask/
```

## Current RPC Methods

- `salvium_getVersion`
- `salvium_getAccount`
- `salvium_getAddress`
- `salvium_getBalance`
- `salvium_configure`
- `salvium_getConfig`
- `salvium_sync`
- `salvium_prepareTransaction`
- `salvium_sendTransaction`
- `salvium_completeTransaction`
- `salvium_exportViewOnly`

## Status

This build can load the Salvium WASM core and derive a Salvium account from MetaMask Snap entropy. Full chain sync and broadcast flow are still under active development.
npm package: @salvob/sipclient
Description: SipClient is an open-source nodejs SIP library, compliant with the IETF RFC3261 specification.
Author: Salvo Barbagallo
Latest version: 1.0.0-rc.6

# SipClient
=========

SipClient is an open-source nodejs SIP library, compliant with the IETF RFC3261 specification.

## Description

    SipClient is a nodejs module compatible with the
    following specifications:
    - RFC 3261 (SIP),
    - RFC 2617 (Digest Authentication)
    You should easilly retrieve those specifications on internet with
    your favorite search engine.

## Installation

  `npm install @salvob/sipclient`

## Usage
```javascript
    let sipClient = require('@salvob/sipclient').SipClient;

    let connection = {
        serverHost: 'sip.prov.com', // SIP server address
        serverPort: 5060,           // SIP server port
        username: 'sipusername',    // SIP username
        password: 'sippassword',    // SIP password
        ipNat: '192.168.10.61',     // Local Ip Address
        sessionTime: 2 * 60         // Refresh session every 2 minutes
    }

    let client = sipClient(connection);

    //On incoming call
    client.on('INVITE', (fromNumber, ringing, busy, message) => {
        console.log(`Incoming: ${fromNumber}`);

        if(fromNumber === '012223334455'){
            ringing(() => { 
                console.log('Ringing');
                //Execute  script...
                //...
                //...
                //End Script
                //busy(() => { console.log('End'); })
            })
        }
        else{
            busy(() => { console.log('End'); })
        }
    });

    client.on('CANCEL', (message) => {
        console.log('Closed');
    });

    client.start((error, message) => {
        if(error){
            console.log(error, message);
            process.exit(1);
        }else{
            console.log('Logged.');
        }
    });
```

## Tests

  `npm test`
npm package: @salvobee/laravel-api-client
Description: Framework-agnostic CRUD client builder with Laravel-style route fallback.
Author: Salvo Bee
Latest version: 0.1.2

# Laravel API Client

Framework-agnostic CRUD client builder for resource-based backends.  
It accepts an `AxiosInstance` and a **route resolver**. If you don't pass a resolver, it defaults to a Laravel-style resolver via [@salvobee/laravel-resource-route](https://github.com/salvobee/laravel-resource-route).

## Install

```bash
npm i @salvobee/api-resource-core @salvobee/laravel-resource-route axios
```

## Quick start (TypeScript)
```typescript
import axios from "axios";
import { createApiResourceClient } from "@salvobee/api-resource-core";

type Photo = { id: number; title: string };
type PhotoList = { data: Photo[]; meta: any }; // shape is up to your API

const api = createApiResourceClient<Photo, PhotoList>({
  resourceKey: "photos",
  resourceRouteParam: "photo",
  client: axios.create({ baseURL: "https://api.example.com" }),
  // routeFn: yourCustomResolver, // optional; defaults to Laravel-style
});

await api.list({ page: 2 });
await api.get(42);
await api.store({ title: "New photo" });
await api.update(42, { title: "Updated" });
await api.destroy(42);
```

## With custom resolver (e.g., Ziggy)
```typescript
import route from "ziggy-js";

const api = createApiResourceClient({
  resourceKey: "photos",
  resourceRouteParam: "photo",
  client: axiosInstance,
  routeFn: (name, params) => route(name, params),
});
```

### Error handling

By default the core throws normalized errors:

- `ValidationError` (Laravel 422 `{ message, errors: { field: [msg] } }`)
- `HttpError` (responses with a status code but not 422)
- `ApiError` (network/unknown)

You can customize mapping via `errorAdapter` (client-wide) or per call:

```ts
import { createApiResourceClient, ValidationError } from "@salvobee/api-resource-core";

const api = createApiResourceClient({
  resourceKey: "posts",
  resourceRouteParam: "post",
  client: axiosInstance,
  errorAdapter: ({ raw }) => {
    // Example: forward Laravel 419 as AuthError, etc.
    const r: any = raw;
    const status = r?.response?.status;
    if (status === 419) throw new Error("CSRF expired");
    // fallback to default:
    throw raw; // will be rethrown; or reimplement the default logic
  },
});

try {
  await api.store({ title: "" });
} catch (e) {
  if (e instanceof ValidationError) {
    console.log(e.errors); // { title: ["The title field is required."] }
  }
}
```

## Notes 

* list() returns the entire response.data (common for index endpoints).
* get/store/update() return response.data.data when present, else response.data.
* You can pass additionalRouteParams to keep nested segments (e.g., { user: 7 } for /users/7/photos/...).
* Optional per-call Axios config via the second arg (e.g., { signal }).

## License
MIT © Salvo Bee
npm package: @salvobee/laravel-api-react
Description: React hook wrapper for @salvobee/laravel-api-client.
Author: Salvo Bee
Latest version: 0.1.1

# Laravel API React

A tiny React hook that wraps `@salvobee/laravel-api-react` and provides a ready-to-use CRUD client for resource-based APIs.  
If no `routeFn` is passed, it uses a Laravel-style resolver by default (via the core).

## Install

```bash
npm i @salvobee/laravel-api-react
```

## Usage (TypeScript / React)
```typescript jsx
import axios from "axios";
import { useApiResource } from "@salvobee/laravel-api-react";

type Post = { id: number; title: string };
type PostList = { data: Post[]; meta: any };

export function Posts() {
  const api = useApiResource<Post, PostList>({
    resourceKey: "posts",
    resourceRouteParam: "post",
    client: axios.create({ baseURL: "https://laravelapp.com/api" }),
    // routeFn: route, // pass Ziggy or any resolver if you want
  });

  // Example
  async function load() {
    const list = await api.list({ page: 1 });
    console.log(list);
  }

  return <button onClick={load}>Load Posts</button>;
}
```

## With Ziggy
```tsx
import route from "ziggy-js";

const api = useApiResource({
  resourceKey: "photos",
  resourceRouteParam: "photo",
  client: axiosInstance,
  routeFn: (name, params) => route(name, params),
});
```

### Validation errors

The hook exposes `errors` (or `null`) and `resetErrors()`.

```tsx
const { store, errors, resetErrors } = useApiResource<Post, PostList>({
  resourceKey: "posts",
  resourceRouteParam: "post",
  client: axios.create({ baseURL: "/api" }),
});

async function onSubmit(values: any) {
  resetErrors();
  try {
    await store(values);
    // success path
  } catch (e) {
    // if it's a Laravel 422, `errors` is now populated:
    // { title: ["The title field is required."], ... }
  }
}
```

Pass `clearErrorsOnCall: false` if you want to preserve previous errors between calls.

## Notes
* list() returns the full response.data; get/update/store() return response.data.data when present.

## License

MIT © Salvo Bee
npm package: @salvoravida/react-redux
Description: Official React bindings for Redux
Author: Dan Abramov
Latest version: 7.2.3-b2

React Redux
=========================

Official React bindings for [Redux](https://github.com/reduxjs/redux).  
Performant and flexible.

[![build status](https://img.shields.io/travis/reduxjs/react-redux/master.svg?style=flat-square)](https://travis-ci.org/reduxjs/react-redux) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
[![npm downloads](https://img.shields.io/npm/dm/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
[![redux channel on discord](https://img.shields.io/badge/discord-redux@reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com)


## Installation

React Redux requires **React 16.8.3 or later.**

```
npm install --save react-redux
```

This assumes that you’re using [npm](http://npmjs.com/) package manager 
with a module bundler like [Webpack](https://webpack.js.org/) or 
[Browserify](http://browserify.org/) to consume [CommonJS 
modules](https://webpack.js.org/api/module-methods/#commonjs).

If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactRedux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/react-redux). We *don’t* recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).

## React Native

As of React Native 0.18, React Redux 5.x should work with React Native. If you have any issues with React Redux 5.x on React Native, run `npm ls react` and make sure you don’t have a duplicate React installation in your `node_modules`. We recommend that you use `npm@3.x` which is better at avoiding these kinds of issues.


## Documentation

The React Redux docs are now published at **https://react-redux.js.org** .

We're currently expanding and rewriting our docs content - check back soon for more updates!

## How Does It Work?

We do a deep dive on how React Redux works in [this readthesource episode](https://www.youtube.com/watch?v=VJ38wSFbM3A).  

Also, the post [The History and Implementation of React-Redux](https://blog.isquaredsoftware.com/2018/11/react-redux-history-implementation/) 
explains what it does, how it works, and how the API and implementation have evolved over time.

Enjoy!

## License

[MIT](LICENSE.md)
npm package: @salvoravida/react-redux7
Description: (un)Official React bindings for Redux
Author: Dan Abramov
Latest version: 7.0.0-alpha.3

React Redux
=========================

This is an **alpha** fork of React-Redux.  Use at your own risk!  (But please let it us know how it runs.)



## Installation

React Redux requires **React 16.8 or later.**

```
npm install --save @acemarke/react-redux@next.
```

This assumes that you’re using [npm](http://npmjs.com/) package manager with a module bundler like [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/) to consume [CommonJS modules](http://webpack.github.io/docs/commonjs.html).

If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactRedux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/react-redux). We *don’t* recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).

## React Native

As of React Native 0.18, React Redux 5.x should work with React Native. If you have any issues with React Redux 5.x on React Native, run `npm ls react` and make sure you don’t have a duplicate React installation in your `node_modules`. We recommend that you use `npm@3.x` which is better at avoiding these kinds of issues.

If you are on an older version of React Native, you’ll need to keep using [React Redux 3.x branch and documentation](https://github.com/reduxjs/react-redux/tree/v3.1.0) because of [this problem](https://github.com/facebook/react-native/issues/2985).

## Documentation

The React Redux docs are now published at **https://react-redux.js.org** .

We're currently expanding and rewriting our docs content - check back soon for more updates!

## How Does It Work?

We do a deep dive on how React Redux works in [this readthesource episode](https://www.youtube.com/watch?v=VJ38wSFbM3A).  
Enjoy!

## License

MIT
npm package: @salvoravida/recoil
Description: Recoil - A state management library for React
Latest version: 0.6.0

# Recoil &middot; [![NPM Version](https://img.shields.io/npm/v/recoil)](https://www.npmjs.com/package/recoil) [![Node.js CI](https://github.com/facebookexperimental/Recoil/workflows/Node.js%20CI/badge.svg)](https://github.com/facebookexperimental/Recoil/actions) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/facebookexperimental/Recoil/blob/main/LICENSE) [![Follow on Twitter](https://img.shields.io/twitter/follow/recoiljs?label=Follow%20Recoil&style=social)](https://twitter.com/recoiljs)

Recoil is an experimental set of utilities for state management with React.

Please see the website: https://recoiljs.org

## Installation

The Recoil package lives in [npm](https://www.npmjs.com/get-npm). To install the latest stable version, run the following command:

```shell
npm install recoil
```

Or if you're using [yarn](https://classic.yarnpkg.com/en/docs/install/):

```shell
yarn add recoil
```

Or if you're using [bower](https://cloud.google.com/community/tutorials/install-bower-dependencies-on-google-app-engine):

```shell
bower install --save recoil
```

## Contributing

Development of Recoil happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving Recoil.

- [Code of Conduct](./CODE_OF_CONDUCT.md)
- [Contributing Guide](./CONTRIBUTING.md)

### License

Recoil is [MIT licensed](./LICENSE).