open-index/open-npm huggingface dataset:
npm package: @mikazuki/language-colors
Description: GitHub programming language colors for JavaScript.
Author: Fuyuno Mikazuki
Latest version: 1.0.1

# language-colors

[![GitHub](https://img.shields.io/github/license/mika-f/language-colors?style=flat-square)](./LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@mikazuki/language-colors?style=flat-square)](https://www.npmjs.com/package/@mikazuki/language-colors)

GitHub programming language colors for JavaScript.

## Install

```
yarn add @mikazuki/language-colors
```

CDN : [UNPKG](https://unpkg.com/@mikazuki/language-colors) | [jsDelivr](https://cdn.jsdelivr.net/npm/@mikazuki/language-colors)

## How to use

### In Browser

```html
<script src="https://cdn.jsdelivr.net/npm/@mikazuki/language-colors"></script>
<script>
  const colors = window.LanguageColors;
  console.log(colors.Csharp);
</script>
```

### In Node.js

```typescript
import { Csharp } from "@mikazuki/language-colors";

console.log(Csharp); // => #178600
```

Some programming language names contains characters that are not allowed in the variable.  
These characters are replaced by the following table of equivalents:

| Before      | After   |
| ----------- | ------- |
| `^1`        | `One`   |
| ` ` (space) | Empty   |
| `-`         | Empty   |
| `'`         | Empty   |
| `#`         | `sharp` |
| `+`         | `plus`  |
| `*`         | `aster` |


For example, `1C Enterprise` is named as `OneCEnterprise`.
npm package: @mikazuki/lazy-class
Description: Lazy evaluation value (class) for JavaScript.
Author: Fuyuno Mikazuki
Latest version: 0.0.2

# Lazy Class

[![GitHub](https://img.shields.io/github/license/mika-f/lazy-class.js?style=flat-square)](./LICENSE)
![CircleCI](https://img.shields.io/circleci/build/github/mika-f/lazy-class.js.svg?style=flat-square)
[![npm (scoped)](https://img.shields.io/npm/v/@mikazuki/lazy-class?style=flat-square)](https://www.npmjs.com/package/@mikazuki/lazy-class)

Lazy evaluation value (class) for JavaScript.

## Install

```
yarn add @mikazuki/lazy-class
```

## How to use

```typescript
import { AsyncLazy, Lazy } from "@mikazuki/lazy-class";

// sync
const lazy = new Lazy<string>(() => "Hello, World");

lazy.isValueInitialized; // => false
lazy.value; // => "Hello, World"
lazy.isValueInitialized; // => true

// async
const fetch = async () => new Promise(resolve => resolve("Hello, World"));
const asyncLazy = new AsyncLazy<string>(async () => await fetch());

asyncLazy.isValueInitialized; // => false
await asyncLazy.value; // => "Hello, World"
asyncLazy.isValueInitialized; // => true
```
npm package: @mikazuki/lookenv
Description: Lookup values from environment variables and cloud secure variables
Author: Fuyuno Mikazuki
Latest version: 0.1.1

# LookEnv

[![GitHub](https://img.shields.io/github/license/mika-f/lookenv?style=flat-square)](./LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@mikazuki/lookenv?style=flat-square)](https://www.npmjs.com/package/@mikazuki/lookenv)

Lookup values from environment variables and cloud secure variables

## Install

```
yarn add @mikazuki/lookenv
```

## How to use

### Environment Variable

```typescript
import LookEnv from "@mikazuki/lookenv";

const env = new LookEnv();

await env.has("NODE_ENV"); // => true
await env.get("NODE_ENV"); // => development
```

You can use type-definitions for parameters, please see below example.

```typescript
import LookEnv from "@mikazuki/lookenv";

type EnvValues = "NODE_ENV";

const env = new LookEnv<EnvValues>();

await env.has("NODE_ENV");         // => compile ok
await env.has("NODE_ENVIRONMENT"); // => compile failure
```

### Azure Key Vault

LookEnv supports Azure Key Vault as Key Store.  
You have to install additional dependencies.

```bash
# install additional dependencies
> yarn add @azure/identity @azure/keyvault-secrets
```

```typescript
import { EnvironmentCredential } from "@azure/identity";
import LookEnv, { AzureIdentity } from "@mikazuki/lookenv";

const azure = new AzureIdentity("<MY KEY VAULT HERE>", new EnvironmentCredential());
const env = new LookEnv(azure);

await env.has("AZURE_KEY_VAULT_SECRET"); // => try to get secret `AzureKeyVaultSecret` from Azure
```

If you want to see real-world example?  
Please check-out [Knockru/Crouton](https://github.com/Knockru/Crouton) repository!
npm package: @mikazuki/pixela
Description: Pixela API for JavaScript
Author: Fuyuno Mikazuki
Latest version: 0.2.1

# Pixela.js

[![GitHub](https://img.shields.io/github/license/mika-f/pixela.js?style=flat-square)](./LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@mikazuki/pixela?style=flat-square)](https://www.npmjs.com/package/@mikazuki/pixela)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmika-f%2Fpixela.js.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmika-f%2Fpixela.js?ref=badge_shield)

Pixela API for JavaScript written in TypeScript.

## Install

```
yarn add @mikazuki/pixela
```

CDN : [UNPKG](https://unpkg.com/@mikazuki/pixela) | [jsDelivr](https://cdn.jsdelivr.net/npm/@mikazuki/pixela)

## How to use

### In Browser

```html
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@mikazuki/pixela"></script>
<script>
  const client = new window.Pixela("YOUR_NAME", "YOUR_TOKEN");
  client
    .incrementPixel("graph_id")
    .then(() => {
      console.log("Increment Pixel!");
    })
    .catch(() => {
      console.log("Error!");
    });
</script>
```

### In Node.js

```typescript
import Pixela from "@mikazuki/pixela";

const graphId = "tweets";

const client = new Pixela("username", "token");

// if you don't have an account, create a new account
await client.createUser({ agreeTermsOfService: true, notMinor: true });

// create new graph
await client.createGraph({ id: graphId, name: "Tweets Per Day", unit: "tweets", ...});

// increment today's pixel
await client.incrementPixel(graphId);
```

If you want to see real-world example?  
Please check-out [Knockru/Crouton](https://github.com/Knockru/Crouton) repository!


## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmika-f%2Fpixela.js.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmika-f%2Fpixela.js?ref=badge_large)
npm package: @mikazuki/tz-convert
Description: Convert time zone between Microsoft Time Zone Index Values and IANA Time Zone
Author: Fuyuno Mikazuki
Latest version: 0.1.1

# tz-convert

[![GitHub](https://img.shields.io/github/license/mika-f/tz-convert?style=flat-square)](./LICENSE)
![CircleCI](https://img.shields.io/circleci/build/github/mika-f/tz-convert.svg?style=flat-square)
[![npm (scoped)](https://img.shields.io/npm/v/@mikazuki/tz-convert?style=flat-square)](https://www.npmjs.com/package/@mikazuki/tz-convert)

Convert timezones between [Microsoft Timezone Index Values](https://docs.microsoft.com/ja-jp/windows-hardware/manufacture/desktop/default-time-zones) and [IANA Time Zone](https://www.iana.org/time-zones).

## Install

```
yarn add @mikazuki/tz-convert
```

CDN : [UNPKG](https://unpkg.com/@mikazuki/tz-convert) | [jsDelivr](https://cdn.jsdelivr.net/npm/@mikazuki/tz-convert)

## How to use

### In Browser

```html
<script src="https://cdn.jsdelivr.net/npm/@mikazuki/tz-convert"></script>
<script>
  console.log(window.TzConvert.ianaToWindows("Asia/Tokyo")); // => Tokyo Standard Time
  console.log(window.TzConvert.windowsToIana("Tokyo Standard Time")); // => Asia/Tokyo
</script>
```

### In Node.js

```typescript
import { ianaToWindows, windowsToIana } from "@mikazuki/tz-convert";

ianaToWindows("Asia/Tokyo"); // => Tokyo Standard Time
windowsToIana("Tokyo Standard Time"); // => Asia/Tokyo
```

If you want to see real-world example?  
Please check-out [Knockru/Crouton](https://github.com/Knockru/Crouton) repository!

## Notes

This library is used Unicode CLDR as first data source.
npm package: @mike-3/test-package
Description: NPM test pakage
Author: mike
Latest version: 1.0.1

# test-package

Test NPM package.

## Installation

```sh
$ npm i @mike-3/test-package
```

## Using

In Node.js:

```sh
const TestPackage = require('@mike-3/test-package');

TestPackage.hello();
TestPackage.proof();
```
npm package: @mike-beyt/naqshava-test-mike
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Author: Mike
Latest version: 0.0.2

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
npm package: @mike-north/emoji-regex
Description: A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Author: Mathias Bynens
Latest version: 8.0.2

# emoji-regex [![Build status](https://travis-ci.org/mathiasbynens/emoji-regex.svg?branch=master)](https://travis-ci.org/mathiasbynens/emoji-regex)

_emoji-regex_ offers a regular expression to match all emoji symbols (including textual representations of emoji) as per the Unicode Standard.

This repository contains a script that generates this regular expression based on [the data from Unicode v12](https://github.com/mathiasbynens/unicode-12.1.0). Because of this, the regular expression can easily be updated whenever new emoji are added to the Unicode standard.

## Installation

Via [npm](https://www.npmjs.com/):

```bash
npm install emoji-regex
```

In [Node.js](https://nodejs.org/):

```js
const emojiRegex = require('emoji-regex');
// Note: because the regular expression has the global flag set, this module
// exports a function that returns the regex rather than exporting the regular
// expression itself, to make it impossible to (accidentally) mutate the
// original regular expression.

const text = `
\u{231A}: ⌚ default emoji presentation character (Emoji_Presentation)
\u{2194}\u{FE0F}: ↔️ default text presentation character rendered as emoji
\u{1F469}: 👩 emoji modifier base (Emoji_Modifier_Base)
\u{1F469}\u{1F3FF}: 👩🏿 emoji modifier base followed by a modifier
`;

const regex = emojiRegex();
let match;
while (match = regex.exec(text)) {
  const emoji = match[0];
  console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`);
}
```

Console output:

```
Matched sequence ⌚ — code points: 1
Matched sequence ⌚ — code points: 1
Matched sequence ↔️ — code points: 2
Matched sequence ↔️ — code points: 2
Matched sequence 👩 — code points: 1
Matched sequence 👩 — code points: 1
Matched sequence 👩🏿 — code points: 2
Matched sequence 👩🏿 — code points: 2
```

To match emoji in their textual representation as well (i.e. emoji that are not `Emoji_Presentation` symbols and that aren’t forced to render as emoji by a variation selector), `require` the other regex:

```js
const emojiRegex = require('emoji-regex/text.js');
```

Additionally, in environments which support ES2015 Unicode escapes, you may `require` ES2015-style versions of the regexes:

```js
const emojiRegex = require('emoji-regex/es2015/index.js');
const emojiRegexText = require('emoji-regex/es2015/text.js');
```

## Author

| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](https://mathiasbynens.be/) |

## License

_emoji-regex_ is available under the [MIT](https://mths.be/mit) license.