open-index/open-npm huggingface dataset:
npm package: @nickeylin/antd-mobile-pro
Description: Components for mobile.
Latest version: 2.1.6

# @nickeylin/antd-mobile-pro

[![NPM version](https://img.shields.io/npm/v/@nickeylin/antd-mobile-pro.svg?style=flat)](https://npmjs.org/package/@nickeylin/antd-mobile-pro) [![NPM downloads](http://img.shields.io/npm/dm/@nickeylin/antd-mobile-pro.svg?style=flat)](https://npmjs.org/package/@nickeylin/antd-mobile-pro)

Components for mobile.

## Development

```bash

# install dependencies
$ pnpm install

# develop library by docs demo
$ pnpm start

# build library source code
$ pnpm run build

# build library source code in watch mode
$ pnpm run build:watch

# build docs
$ pnpm run docs:build

# check your project for potential problems
$ pnpm run doctor
```
npm package: @nickeylin/imy-jssdk
Description: jssdk for imianyang
Latest version: 0.0.3

# @nickeylin/imy-jssdk

[![NPM version](https://img.shields.io/npm/v/@nickeylin/imy-jssdk.svg?style=flat)](https://npmjs.com/package/@nickeylin/imy-jssdk)
[![NPM downloads](http://img.shields.io/npm/dm/@nickeylin/imy-jssdk.svg?style=flat)](https://npmjs.com/package/@nickeylin/imy-jssdk)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @nickeylin/pro-rcvant
Description: ProComponents for react-vant.
Latest version: 1.0.0-4

# @nickeylin/pro-rcvant

[![NPM version](https://img.shields.io/npm/v/@nickeylin/pro-rcvant.svg?style=flat)](https://npmjs.org/package/@nickeylin/pro-rcvant)
[![NPM downloads](http://img.shields.io/npm/dm/@nickeylin/pro-rcvant.svg?style=flat)](https://npmjs.org/package/@nickeylin/pro-rcvant)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @nickeylin/rc-utils
Description: Utils based react for suid
Latest version: 2.0.2

# @nickeylin/rc-utils

[![NPM version](https://img.shields.io/npm/v/@sei/suid-hooks.svg?style=flat)](https://npmjs.org/package/@sei/suid-hooks)
[![NPM downloads](http://img.shields.io/npm/dm/@sei/suid-hooks.svg?style=flat)](https://npmjs.org/package/@sei/suid-hooks)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @nickeylin/react-amap
Description: 高德地图 React 组件
Latest version: 0.1.3

# @nickeylin/react-amap

[![NPM version](https://img.shields.io/npm/v/@nickeylin/react-amap.svg?style=flat)](https://npmjs.org/package/@nickeylin/react-amap)
[![NPM downloads](http://img.shields.io/npm/dm/@nickeylin/react-amap.svg?style=flat)](https://npmjs.org/package/@nickeylin/react-amap)

高德地图 React 组件

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ pnpm install

# develop library by docs demo
$ pnpm start

# build library source code
$ pnpm run build

# build library source code in watch mode
$ pnpm run build:watch

# build docs
$ pnpm run docs:build

# Locally preview the production build.
$ pnpm run docs:preview

# check your project for potential problems
$ pnpm run doctor
```

## LICENSE

MIT
npm package: @nickeylin/taroify-core
Description: ## Install
Latest version: 0.1.0-alpha.7

# Taroify Core

## Install

#### NPM

```shell
npm i @taroify/core -S
```

#### YARN

```shell
yarn add @taroify/core
```

## Document

- [Usage in Taro](https://taroify.gitee.io/taroify.com/introduce/)
- [Usage in Vue](https://vant-contrib.gitee.io/vant/#/zh-CN/)
- [Usage in Weapp](https://vant-contrib.gitee.io/vant-weapp/#/home)
npm package: @nickeylin/taroify-icons
Description: Taroify icon components built on Taro
Latest version: 0.1.0-alpha.6

# Taroify Icons

## Install

#### NPM

```shell
npm i @taroify/icons -S
```

#### YARN

```shell
yarn add @taroify/icons
```

## Document

- [Usage in Taro](https://taroify.gitee.io/taroify.com/components/icon/)
- [Usage in Vue](https://youzan.github.io/vant/#/zh-CN/icon)
- [Usage in Weapp](https://youzan.github.io/vant-weapp/#/icon)
npm package: @nickeylin/umi-plugin-antd-mobile
Description: A umi plugin
Author: Nick
Latest version: 0.1.3

# @nickeylin/umi-plugin-antd-mobile

A umi plugin

## Install

```bash
pnpm i @nickeylin/umi-plugin-antd-mobile
```

## Usage

Configure in `.umirc.ts`,

```js
export default {
  plugins: [
    ['@nickeylin/umi-plugin-antd-mobile'],
  ],
}
```

## Options

TODO

## LICENSE

MIT
npm package: @nickeylin/utils
Description: Utils for suid.
Latest version: 2.0.2

# @nickeylin/utils

[![NPM version](https://img.shields.io/npm/v/@nickeylin/utils.svg?style=flat)](https://npmjs.org/package/@nickeylin/utils)
[![NPM downloads](http://img.shields.io/npm/dm/@nickeylin/utils.svg?style=flat)](https://npmjs.org/package/@nickeylin/utils)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @nickfan/envhelper
Description: Environment Label Helper Class
Author: nick fan
Latest version: 0.2.2

# envhelper [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> Environment Label Helper

## Installation

```sh
$ npm install --save @nickfan/envhelper
```

## Usage

```js
const envhelper = require('@nickfan/envhelper');

envhelper.genEnvUrlByWebUrl("http://dev-mockup.example.com", "testing") === "http://test-mockup.example.com"

```
## License

MIT © [nick fan](https://github.com/nickfan)


[npm-image]: https://badge.fury.io/js/%40nickfan%2Fenvhelper.svg
[npm-url]: https://www.npmjs.com/package/@nickfan/envhelper
[travis-image]: https://travis-ci.org/nickfan/envhelper.svg?branch=master
[travis-url]: https://travis-ci.org/nickfan/envhelper
[daviddm-image]: https://david-dm.org/nickfan/envhelper.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/nickfan/envhelper
[coveralls-image]: https://coveralls.io/repos/github/nickfan/envhelper/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/nickfan/envhelper?branch=master
npm package: @nickfaughey/format-si-prefix
Description: Format and unformat numbers with SI prefixes
Author: Thom Wright
Latest version: 0.4.5

# format-si-prefix
[![npm](https://img.shields.io/npm/v/format-si-prefix.svg?style=flat-square)](https://www.npmjs.com/package/format-si-prefix)
[![David](https://img.shields.io/david/ThomWright/format-si-prefix.svg?style=flat-square)](https://david-dm.org/ThomWright/format-si-prefix)
[![David](https://img.shields.io/david/dev/ThomWright/format-si-prefix.svg?style=flat-square)](https://david-dm.org/ThomWright/format-si-prefix#info=devDependencies)

Format and unformat numbers with SI prefixes.

# API

## `formatSI()`

```javascript
import {formatSI} from 'format-si-prefix';
const string = formatSI(number, options);     // optional `options` object
```

Options:
- `space`: (default false) adds a space between the number and prefix (ex. `1.2 k`)
- `sign`: (default false) prepends a plus sign if the number is positive (ex. `+1.2k`)
- `suffix`: appends a string to the formatted number (ex. `formatSI(1200, {suffix: 'Wh'})` => `1.2kWh`)


| in            |     out |
| ------------- | -------:|
| ...           |     ... |
| 0.000111111   |    111µ |
| 0.00111       |   1.11m |
| 0.0111        |   11.1m |
| 0.111         |    111m |
| 1             |       1 |
| 11            |      11 |
| 111           |     111 |
| 1111          |   1.11k |
| 11111         |   11.1k |
| 111111        |    111k |
| 1111111       |   1.11M |
| ...           |     ... |

## `unformatSI()`

```javascript
import {unformatSI} from 'format-si-prefix';
const number = unformatSI(string);
```

|      in | out           |
| ------- | ------------: |
|     ... | ...           |
|    111µ | 0.000111      |
|   1.11m | 0.00111       |
|   11.1m | 0.0111        |
|    111m | 0.111         |
|       1 | 1             |
|      11 | 11            |
|     111 | 111           |
|   1.11k | 1110          |
|   11.1k | 11100         |
|    111k | 111000        |
|   1.11M | 1110000       |
|     ... | ...           |
| 12.345M | 12345000      |
|  12.345 | 12.345        |
| 1234567 | 1234567       |
| 123456M | 123456000000  |
| 1000.1m | 1.0001        |
|     ... | ...           |

# License

[MIT](./LICENSE)
npm package: @nickfla1/react-native-check-app-install
Description: React Native plugin for checking if apps/packages are installed on the device or not.
Author: RedPandaTronics LTD / nickfla1
Latest version: 1.0.0

# react-native-check-app-install

## Installation
```
npm i --save react-native-check-app-install
react-native link
```

## Usage
Check out the example app in the [example](https://github.com/redpandatronicsuk/react-native-check-app-install/tree/master/example) folder.

```javascript
import { AppInstalledChecker, CheckPackageInstallation } from 'react-native-check-app-install';

// To check by app name:
AppInstalledChecker
    .isAppInstalled('whatsapp')
    .then((isInstalled) => {
        // isInstalled is true if the app is installed or false if not
    });

// To check using URL (works on iOS and Android):
AppInstalledChecker
    .checkURLScheme('whatsapp') // omit the :// suffix
    .then((isInstalled) => {
        // isInstalled is true if the app is installed or false if not
    })

// To check using package name (Android only):
AppInstalledChecker
    .isAppInstalledAndroid('com.whatsapp') 
    .then((isInstalled) => {
        // isInstalled is true if the app is installed or false if not
    });
```
You can retrieve the list of supported app names by calling `AppInstalledChecker.getAppList()` or check in [app-list.js](https://github.com/redpandatronicsuk/react-native-check-app-install/blob/master/app-list.js). If your app is not in the list, you will have to find out the URL scheme or package name and use either `isAppInstalledIOS(url)` or `isAppInstalledAndroid(pacakge-name)`.

Android package names can be found on the [Google PlayStore](https://play.google.com/store/search). For example, the URL for the Twitter app is *https://play.google.com/store/apps/details?id=com.twitter.android* the package name is the value of the id query parameter, i.e. **com.twitter.android**.

iOS URL schemes can be found by googling or checking this unofficial registry: [http://handleopenurl.com](http://handleopenurl.com) (site seems down at the moment)
npm package: @nickfla1/react-native-share-instagram
Description: Share base64 image on Instagram app (ios and android) - Fork
Author: nickfla1
Latest version: 2.0.8

# react-native-share-instagram
Share your image with the Instagram app using `Intents` (iOS & Android)

## Getting started

`$ yarn add @nickfla1/react-native-share-instagram`

## Automatic installation

`$ react-native link @nickfla1/react-native-share-instagram`


## Usage
```javascript
import RNReactNativeSharingWinstagram from 'react-native-sharing-winstagram';

RNReactNativeSharingWinstagram.shareWithInstagram(this.state.fileName, this.state.base64EncodedImageString, message => {
  if (message) alert(message)
}, error => {
  alert(error.message) // error callback for IOs only
})
```

### Troubleshouting

* Make sure you have authorised in `Info.plist` your app to communicate with the Instagram app (iOS):

```xml
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>instagram</string>
</array>

<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library to share on Instagram.</string>
```

### Advanced usage

* You can use the [rn-fetch-blob](https://github.com/joltup/rn-fetch-blob) library to download your remote image and convert it to `.base64()`

### Next steps

##### Note: This is a fork from [this](https://github.com/micabe/react-native-share-instagram) repository.

* Modernize the whole project both javascript and native
* Add type checking
* Uniform API and error handling
npm package: @nickfoden/tiny
Description: Removes all spaces from a string
Latest version: 2.0.2

# @nickfoden/tiny

[![npm (scoped)](https://img.shields.io/npm/v/@nickfoden/tiny.svg)](https://www.npmjs.com/package/@nickfoden/tiny)

[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@nickfoden/tiny.svg)](https://www.npmjs.com/package/@nickfoden/tiny)

Removes all spaces from a string.

## Install

```
$ npm install @nickfoden/tiny
```

## Usage

```js
import tiny from "@nickfoden/tiny";

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1
```
npm package: @nickforddev/eslint-config-node
Description: ESLint config for @nickforddev node.js projects
Author: Nick Ford
Latest version: 1.0.0

# `@nickforddev/eslint-config-node`

[![npm version](https://badge.fury.io/js/%40nickforddev%2Feslint-config-node.svg)](https://badge.fury.io/js/%40nickforddev%2Feslint-config-node)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## About

This eslint config extends the official [Airbnb JS base config](https://github.com/airbnb/javascript).

## Installation

Using NPM:

```bash
npm install --save-dev @nickforddev/eslint-config-node
```

Using Yarn:

```bash
yarn add --dev @nickforddev/eslint-config-node
```

This package has several peerDependencies, to install all of them at once use the following:

```bash
npm install --save-dev @nickforddev/eslint-config-node eslint eslint-config-airbnb-base eslint-plugin-import
```

## Usage

In .eslintrc.js:

```js
module.exports = {
  extends: [
    '@nickforddev/node'
  ]
};
```
npm package: @nickforddev/eslint-config-nuxt
Description: ESLint config for @nickforddev Nuxt projects
Author: Nick Ford
Latest version: 1.0.0

# `@nickforddev/eslint-config-nuxt`

[![npm version](https://badge.fury.io/js/%40nickforddev%2Feslint-config-nuxt.svg)](https://badge.fury.io/js/%40nickforddev%2Feslint-config-nuxt)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## About

This eslint config extends the official [Vue Airbnb config](https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/eslint-config-airbnb#readme), and the [@nickforddev/eslint-config-node](../eslint-config-node) config, and the official [Nuxt config](https://github.com/nuxt/eslint-config).

## Installation

Using NPM:

```bash
npm install --save-dev @nickforddev/eslint-config-nuxt
```

Using Yarn:

```bash
yarn add --dev @nickforddev/eslint-config-nuxt
```

## Usage

In .eslintrc.js:

```js
module.exports = {
  extends: [
    '@nickforddev/nuxt'
  ]
};
```
npm package: @nickforddev/eslint-config-vue
Description: ESLint config for @nickforddev Vue projects
Author: Nick Ford
Latest version: 1.0.0

# `@nickforddev/eslint-config-vue`

[![npm version](https://badge.fury.io/js/%40nickforddev%2Feslint-config-vue.svg)](https://badge.fury.io/js/%40nickforddev%2Feslint-config-vue)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

## About

This eslint config extends the official [Vue Airbnb config](https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/eslint-config-airbnb#readme), and the [@nickforddev/eslint-config-node](../eslint-config-node) config.

## Installation

Using NPM:

```bash
npm install --save-dev @nickforddev/eslint-config-vue
```

Using Yarn:

```bash
yarn add --dev @nickforddev/eslint-config-vue
```

## Usage

In .eslintrc.js:

```js
module.exports = {
  extends: [
    '@nickforddev/vue'
  ]
};
```
npm package: @nickfthedev/gotry
Description: Go-style error handling with try-catch wrapper
Author: Nick Friedrich
Latest version: 1.0.0

# gotry

TypeScript/JavaScript error handling inspired by Go's error pattern.

## Why?

- ✨ Simple and clean error handling pattern
- 🔄 Supports both sync and async functions
- 📦 Zero dependencies
- 🛡️ Written in TypeScript with full type safety
- 🎯 Reduces error handling boilerplate
- 🔍 Inspired by Go's error handling pattern

## Installation

```bash
npm install @nickfthedev/gotry
```

## Usage

The package provides two functions: `gotry` for synchronous operations and `gotryAsync` for asynchronous operations. Both return a tuple of `[result, error]`.

### Synchronous Usage

```typescript
import { gotry } from "gotry";

const [result, error] = gotry(() => {
  return someRiskyOperation();
});

if (error) {
  console.error("Operation failed:", error);
  return;
}

console.log("Success:", result);
```

### Asynchronous Usage

```typescript
import { gotryAsync } from "gotry";

const [result, error] = await gotryAsync(async () => {
  return await fetchSomeData();
});

if (error) {
  console.error("Fetch failed:", error);
  return;
}

console.log("Data:", result);
```

## API Reference

### gotry<T>(fn: () => T): [T | null, Error | null]

Executes a synchronous function and returns a tuple containing the result and error (if any).

```typescript
import { gotry } from "gotry";

const [result, error] = gotry(() => {
  if (Math.random() > 0.5) throw new Error("Bad luck!");
  return "Success!";
});
```

### gotryAsync<T>(fn: () => Promise<T>): Promise<[T | null, Error | null]>

Executes an asynchronous function and returns a promise of a tuple containing the result and error (if any).

```typescript
import { gotryAsync } from "gotry";

const [result, error] = await gotryAsync(async () => {
  const response = await fetch("https://api.example.com/data");
  return response.json();
});
```

## Error Handling Pattern

Both functions follow Go's error handling pattern:

- On success: Returns `[result, null]`
- On error: Returns `[null, error]`

All errors are guaranteed to be instances of `Error`. If a non-Error is thrown, it will be converted to an Error instance.

## License

MIT
npm package: @nickgatzos/is-email
Description: Validate an email address.
Author: Nick Gatzoulis
Latest version: 2.0.0

# is-email

[![CircleCI](https://circleci.com/gh/segmentio/is-email.svg?style=shield&circle-token=38faad587c396e66c475415a096207d2de27e324)](https://circleci.com/gh/segmentio/is-email)
[![Codecov](https://img.shields.io/codecov/c/github/segmentio/is-email/master.svg?maxAge=2592000)](https://codecov.io/gh/segmentio/is-email)


Loosely validate an email address.

## Installation
  
```
$ npm install is-email
```

## API

### isEmail(string)

Loosely checks whether a `string` is an email address.
npm package: @nickgdev/larvitar-types
Description: ![Larvitar](https://www.serebii.net/pokemon/art/246.png)
Latest version: 1.2.1

# Larvitar Types

![Larvitar](https://www.serebii.net/pokemon/art/246.png)  

## Package Details  

--------------------------------
| pkg name | language | framework | pokemon-sponsor |

| larvitar-types | typescript | typescript | larvitar |

--------------------------------

### Core  

#### Functionality

Package common types between typescript packages.

#### Tech  

Typescript and TSC

#### Types Package for Pokemon Card Trading Game Web Service

See <https://docs.pokemontcg.io/>
npm package: @nickgraffis/ajax
Description: Vanilla JS version of ajax.
Author: Nick Graffis
Latest version: 0.0.2

## Installation - Node

```sh
npm i @nickgraffis/ajax
```

```sh
yarn add @nickgraffis/ajax
```

```sh
pnpm i @nickgraffis/ajax
```

## Installation - Browser

```html
<script src="https://unpkg.com/@nickgraffis/ajax@0.0.1/dist/ajax.min.js"></script>
```
npm package: @nickgraffis/array.equals
Description: Method to compare two arrays.
Author: Nick Graffis
Latest version: 1.0.1

# Array.equals
Method to compare two arrays.

# Install with NPM
```
npm install @nickgraffis/array.equals
```

# Demo
```
var wholeFoods = ['grapes', 'apples', 'carrots', 'squash'];
var traderJoes = ['grapes', 'apples', 'carrots', 'squash'];
var sprouts = ['candy', 'cake', 'chicken'];

console.log(wholeFoods.equals(traderJoes));
output => true

console.log(traderJoes.equals(sprouts));
output => false

```
npm package: @nickgraffis/blackjack
Description: 🃏Black Jack 
Author: Nick Graffis
Latest version: 1.0.0

# BlackJack

🃏 Black Jack!

# Demo

<img src="/image/demo.gif">

```
~> npm install -g @nickgraffis/blackjack
~> blackjack
```
# Game Play
Try to get the highest card total without going over 21.
2 - 9 is face value
['🃏', '👸', '🤴'] are all 10
'A' is 11 or 1 if you bust
'A' + ['🃏', '👸', '🤴'] is Black Jack! Automatic winner
Dealer will not hit past 17
Tie goes to the house :(

# How it works?
Pretty simple and straight forward, except the recursive design of the computers hand.
```
var computerAsyncHand = function() {
  if (computerTurn < 2) {
    computerHand.push(randomPoints());
    computerTurn++;
    computerHand.push(randomPoints());
    computerTurn++;
    console.log(dealCard(computerHand[0], randomInt(4)));
    console.log(dealCard(computerHand[1], randomInt(4)));
    console.log(computerHand.reduce((a, b) => a + b, 0));
    sleep(1000);
  }
  if (computerHand.includes(11)) {
    var Ace = computerHand.indexOf(11);
    computerHand[Ace] = 1;
    console.log('Dealer score is now ' + computerHand.reduce((a, b) => a + b, 0) + ', using the A as a 1!');
  }
  if (computerHand.reduce((a, b) => a + b, 0) > 17) {
    //Game Over
    return;
  } else {
    computerHand.push(randomPoints());
    computerTurn++;
    console.log(dealCard(computerHand[computerTurn - 1], randomInt(4)));
    console.log(computerHand.reduce((a, b) => a + b, 0));
  }
  sleep(1000);
  computerAsyncHand();
}
```
npm package: @nickgraffis/esbuild-runner
Description: ⚡️ A simple esbuild runner.
Author: Nick Graffis
Latest version: 0.0.6

# ⚡️ ESBuild Runner

## Useage

```bash
esr [file] [args]
```

## Install

### Globally
```bash
npm i -g @nickgraffis/esbuild-runner
```

### Locally
```bash
npm i @nickgraffis/esbuild-runner
```
```json
{
  "scripts": {
    "start": "esr index.ts"
  }
}
```

### NPX
```bash
npx @nickgraffis/esbuild-runner index.ts
```

## Why?

Goal was to replace `ts-node` - noteably, this tool doesn't check types.

## Thanks

- [esbuild](https://esbuild.github.io)
- [esbuild-runner](https://github.com/folke/esbuild-runner)
npm package: @nickgraffis/eslint
Description: 🧹 My eslint settings.
Author: Nick Graffis
Latest version: 1.0.11

# @nickgraffis/eslint

## Automated Set Up

```bash
npx @nickgraffis/eslint -basic
```

## Flag Options
* `-basic`: Basic ESLint configuration.
* `-react`: React ESLint configuration.
  * `react` and `ts` configs.
* `-ts`: TypeScript ESLint configuration.
  * `ts` and `basic` configs.
* `-vue`: Vue ESLint configuration.
  * `vue` and `ts` configs.

## Install

```bash
npm install @nickgraffis/eslint-[basic|react|ts|vue]
```

## Config .eslintrc
```json
{
  "extends": [
    "@nickgraffis/eslint-[basic|react|ts|vue]"
  ]
}
```

## Config VSCode auto fix

Create .vscode/settings.json

```json
{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
```