open-index/open-npm huggingface dataset:
npm package: @naveen16/customresponses
Description: Custom responses for Express
Author: Naveen Rajshekhar
Latest version: 4.0.0

# Custom-Responses

## Instructions to use:

```npm install @naveen16/customresponses```

```
const customResponses = require('@naveen16/customresponses');

app.use(customResponses);
```

Once you have done the above in your app entry point, the express response object will contain the custom responses, and you can use them as follows:

```
res.unprocessableEntity(err);
```
npm package: @naveen4854/react-components
Description: Shared components
Author: naveen4854
Latest version: 0.0.5

# @naveen4854/react-components

> nav-test-crl

[![NPM](https://img.shields.io/npm/v/@naveen4854/react-components.svg)](https://www.npmjs.com/package/@naveen4854/react-components) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @naveen4854/react-components
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from '@naveen4854/react-components'
import '@naveen4854/react-components/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [naveen4854](https://github.com/naveen4854)
npm package: @naveen4854/test-new
Description: nav-test-crl
Author: naveen4854
Latest version: 1.3.2

# test-new

> nav-test-crl

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

## Install

```bash
npm install --save test-new
```

## Usage

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

import MyComponent from 'test-new'
import 'test-new/dist/index.css'

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

## License

MIT © [naveen4854](https://github.com/naveen4854)
npm package: @naveen521kk/expo-hf-tokenizers
Description: Port of HuggingFace's tokenizers using Expo Modules for React Native Apps
Author: Naveen M K
Latest version: 0.1.0

# @naveen521kk/expo-hf-tokenizers

Port of HuggingFace's tokenizers using Expo Modules for React Native Apps.

# Installation in managed Expo projects

For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, install the npm package and start using.

Note that you would need a [development client](https://docs.expo.dev/develop/development-builds/introduction/) while developing and will not work with Expo Go.

# Installation in bare React Native projects

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

### Add the package to your npm dependencies

```
npm install @naveen521kk/expo-hf-tokenizers
```

### Example

See [example](https://github.com/naveen521kk/expo-hf-tokenizers/tree/main/example) folder for a simple example on how to use it.

See [this file](https://github.com/naveen521kk/expo-hf-tokenizers/blob/main/src/ExpoHfTokenizersModule.ts) for a list of exported functions available.

# Contributing

Contributions are very welcome!
npm package: @naveen521kk/expo-mediapipe-text-tasks
Description: Using mediapipe's text tasks in react-native application
Author: Naveen M K
Latest version: 0.1.0

## expo-mediapipe-text-tasks

For now, this module exposes a single function called `embed` which would create a text embedding for the given text. The function is a wrapper around the `mediapipe` library.

The function signature is as follows:

```typescript
export declare function embed(
  delegate: number,
  modelPath: string,
  text: string
): Promise<{
  string: string;
  embeddings: number[];
  inferenceTime: number;
}>;
```

The `delegate` parameter is an integer that specifies whether to use the CPU or GPU for inference. The value `0` specifies the CPU, and the value `1` specifies the GPU. You can also use the constants `DELEGATE_CPU` and `DELEGATE_GPU` from the `expo-mediapipe-text-tasks` module.

The `modelPath` parameter is a string that specifies the path to the model file. The model file should be a `.tflite` file. You can use the `expo-asset` module to load the model file.

Below are some models from the official MediaPipe repository that you can use:

- MobileBert: https://storage.googleapis.com/mediapipe-models/text_embedder/bert_embedder/float32/1/bert_embedder.tflite
- AverageWord: https://storage.googleapis.com/mediapipe-models/text_embedder/average_word_embedder/float32/1/average_word_embedder.tflite

The `text` parameter is a string that specifies the text for which you want to create an embedding.

The function returns a promise that resolves to an object with the following properties:

- `string`: The `.toString()` representation of the output.
- `inferenceTime`: The time taken for inference in milliseconds.
- `embeddings`: The embedding of the input text.

See [`example/`](https://github.com/naveen521kk/expo-mediapipe-text-tasks/tree/main/example) for a complete example.

## Installation in managed Expo projects

For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, install the npm package and start using.

Note that you would need a [development client](https://docs.expo.dev/develop/development-builds/introduction/) while developing and will not work with Expo Go.

## Installation in bare React Native projects

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

## Installing the npm package

```sh
npm install @naveen521kk/expo-mediapipe-text-tasks
```
npm package: @naveen521kk/expo-sms-reader
Description: Read SMS in expo for android
Author: Naveen M K
Latest version: 0.2.0

# expo-sms-reader

This module provides a function `readAllSmsAsync()` that allows you to read all SMS messages from the device. It is designed to work only on Android.

You can use `requestSmsPermissionsAsync()` to request the necessary permissions to read SMS messages and `getSmsPermissionsAsync()` to check if the permissions have been granted.

## Installation

```bash
npm install @naveen521kk/expo-sms-reader
```

## Usage

See [example](https://github.com/naveen521kk/expo-sms-reader/blob/main/example) folder for a complete example.
npm package: @naveen521kk/fabric-history
Description: Fabric.js canvas history utility
Author: Naveen M K
Latest version: 0.1.1

# Fabric History

This package provides a single class called `FabricCanvasHistory` which
provides the necessary functionality to undo and redo changes in a Fabric.js
canvas.

See https://fabric-history.syrusdark.cc/ for a live demo using Next.js
and source code at https://github.com/naveen521kk/fabric-history-example.

## Installation

```bash
npm install --save @naveen521kk/fabric-history
```

## Usage

```javascript
import { FabricCanvasHistory } from '@naveen521kk/fabric-history';

const canvas = new fabric.Canvas('canvas');
const history = new FabricCanvasHistory(canvas); // Optionally pass a callback function to get notified when history changes

history.init(); // Initialize the history

// Add a new object to the canvas
canvas.add(new fabric.Rect({ width: 100, height: 100, fill: 'red' }));

// Undo the last change
history.undo();

// Redo the last undone change
history.redo();
```
npm package: @naveen521kk/react-native-tokenizer
Description: Port of Huggingface's Tokenizer written in Rust for React Native
Author: Naveen M K
Latest version: 0.2.1

# @naveen521kk/react-native-tokenizer

Port of Huggingface's Tokenizer written in Rust for React Native. Only supports Android for now.

## Installation

```sh
npm install @naveen521kk/react-native-tokenizer
```

## Usage

See [example](https://github.com/naveen521kk/react-native-tokenizer/tree/main/example) for a full example.

```js
import { encode } from '@naveen521kk/react-native-tokenizer';

// ...
// modelPath is the path to the model directory
const result = encode(modelPath, "Hello World!");
```


## 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: @naveen7892/comic-vine-api
Description: An NPM package to communicate with ComicVine API with easy to use methods.
Author: Naveen Kumar
Latest version: 1.0.2

[![GitHub issues](https://img.shields.io/badge/npm-v1.0.1-lightgrey)](https://github.com/Naveen7892/comic-vine-api.git)  [![install size](https://packagephobia.com/badge?p=@naveen7892/comic-vine-api)](https://packagephobia.com/result?p=@naveen7892/comic-vine-api)

## Communicates with ComicVine API

### Install
> $ npm install @naveen7892/comic-vine-api

### Usage
```
const cv = require("@naveen7892/comic-vine-api");

// Gets recently updated 10 characters
cv.getRecentlyUpdatedCharacters(0, 10, "", "")
.then(response => {
    response.json().then((r) => {
        console.log(r);
    }, (e) => {
        console.log(e)
    });
    // res.send('fofa')
}).catch(err => { 
    console.log(err); 
});

// Gets my favorite hero "Iron Man" details
cv.getCharacterById(1455)
.then(response => {
    response.json().then((r) => {
        console.log(r);
    }, (e) => {
        console.log(e)
    });
    // res.send('fofa')
}).catch(err => { 
    console.log(err); 
});
```
npm package: @naveen7892/tiny
Description: Removes all spaces from a string
Latest version: 2.0.1

[![GitHub issues](https://img.shields.io/badge/npm-v2.0.0-lightgrey)](https://github.com/Naveen7892/sample-npm-package)

## Removes all spaces from a string.

### Install
> $ npm install @naveen7892/tiny

### Usage
```
const tiny = require("@naveen7892/tiny");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1
```

### Note:

### This is a sample-npm-package
Publishing sample NPM package following the tutorial https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

# Commands used:

    > npm adduser
    or
    > npm login

    > npm publish --access=public
npm package: @naveeng2402/nuxt-prisma
Description: The only nuxt module that makes nuxt devs life simpler.
Latest version: 0.1.3

<!--
Get your module up and running quickly.

Find and replace all on all files (CMD+SHIFT+F):
- Name: Nuxt Prisma
- Package name: @naveeng2402/nuxt-prisma
- Description: The only nuxt module that makes nuxt devs life simpler
-->

# Nuxt Prisma

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

The only nuxt module that makes nuxt devs life simpler for doing amazing things.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/@naveeng2402/nuxt-prisma?file=playground%2Fapp.vue) -->
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

Highlight some of the features your module provide here
- Connect to Prisma with ease
- view prisma studio in nuxt devtools

## Quick Setup

1. Add `@naveeng2402/nuxt-prisma` dependency to your project

```bash
# Using pnpm
pnpm add -D @naveeng2402/nuxt-prisma

# Using yarn
yarn add --dev @naveeng2402/nuxt-prisma

# Using npm
npm install --save-dev @naveeng2402/nuxt-prisma
```

2. Add `@naveeng2402/nuxt-prisma` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
  modules: [
    '@naveeng2402/nuxt-prisma'
  ]
})
```

3. Initialize `prisma` as you would
```bash
npx prisma init
```

That's it! You can now use Nuxt Prisma in your Nuxt app ✨

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@naveeng2402/nuxt-prisma/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@naveeng2402/nuxt-prisma

[npm-downloads-src]: https://img.shields.io/npm/dm/@naveeng2402/nuxt-prisma.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@naveeng2402/nuxt-prisma

[license-src]: https://img.shields.io/npm/l/@naveeng2402/nuxt-prisma.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@naveeng2402/nuxt-prisma

[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com