open-index/open-npm huggingface dataset:
npm package: @jcribeiro/storybook-addon-intl
Description: Addon to provide locale switcher and react-intl for storybook
Latest version: 2.0.2
Deprecated: This has been merged. See: https://github.com/truffls/storybook-addon-intl/pull/7

# Intl Addon [![Build Status](https://travis-ci.org/truffls/storybook-addon-intl.svg?branch=master)](https://travis-ci.org/truffls/storybook-addon-intl)

The Intl addon can be used to provide locale switcher and react-intl.

![](docs/screenshot.png)

## Getting Started

First, install the addon

```shell
npm install -D storybook-addon-intl
```

_Note: Following peer dependencies are required: `@storybook/react`, `react` and `react-intl`._

Add this line to your `addons.js` file (create this file inside your storybook config directory if needed).

```js
import 'storybook-addon-intl/register';
```

In your `config.js` import the `setIntlConfig` and `withIntl` function. Use `setIntlConfig` to set the configuration
for `react-intl` and `withIntl´ as decorator.

```js
import { addDecorator, configure } from '@storybook/react';
import { setIntlConfig, withIntl } from 'storybook-addon-intl/preview';

// Load the locale data for all your defined locales
import { addLocaleData } from 'react-intl';
import enLocaleData from 'react-intl/locale-data/en';
import deLocaleData from 'react-intl/locale-data/de';

addLocaleData(enLocaleData);
addLocaleData(deLocaleData);

// Provide your messages
const messages = {
    'en': { 'button.label': 'Click me!' },
    'de': { 'button.label': 'Klick mich!' }
};

const getMessages = (locale) => messages[locale];

// Set intl configuration
setIntlConfig({
    locales: ['en', 'de'],
    defaultLocale: 'en',
    getMessages
});

// Register decorator
addDecorator(withIntl);


// Run storybook
configure(() => require('./stories'), module);
```
npm package: @jcrz/local-server
Description: A development http server for serving static html, css, and js files locally across a network.
Author: Jazelle Cruz
Latest version: 1.0.5

# LocalServer 

[LocalServer](https://www.npmjs.com/package/@jcrz/local-server) is featherlight development HTTP server to serve your static files locally across your network.

* Allows your files to be accessed by any device on your network.
* Light and minimal as it does not rely on any dependencies.
* Provides a simple CLI and only requires minimal configuration, making it noob-friendly :). 
* Made purely with Node.js ;)

## Installation
You'll need Node.js and NPM for this.

```sh
npm i @jcrz/local-server
```

Note: *Make sure node is initialized.*

## Usage
```sh
localServer [params]
```
### Command line parameters:
* `--path=PORT` - the port you want to use. Default port is set to 8000.
* `--dir=PATH` - the name or path of the directory of your static files. Default dir root path is set to "." (**NOTE**: Do not start your path or name with a "/" or "\\").

### Example Usage

```
localServer --port=5000 --dir=client
```

## Contribution
Any contribution is welcome. Just kindly make a pull request. For major changes, please open an issue first to discuss what you would like to change.
npm package: @jcs-pr/ecls
Description: A language server for Editor config(ecls).
Latest version: 0.0.5

# Editorconfig Language Server

A language server for Editor config(ecls).

## Features
- Diagnostics
- Completions
- Document symbols
- Hover

## Installation
### VsCode
To be determined


### Neovim
`npm install -g ecls`

* `nvim/lspconfig` not yet implemented, bootstrap config can be added, see `debug/editorconfig.lua`
npm package: @jcs224/postgrest-js-testing
Description: Isomorphic PostgREST client
Author: Supabase
Latest version: 0.0.3

# Postgrest JS

Isomorphic JavaScript client for [PostgREST](https://postgrest.org). The goal of this library is to make an "ORM-like" restful interface. 

## Documentation

Full documentation can be found on our [website](https://supabase.io/docs/postgrest/client/postgrest-client).

### Quick start

Install

```bash
npm install @supabase/postgrest-js
```

Usage

```js
import { PostgrestClient } from '@supabase/postgrest-js'

const REST_URL = 'http://localhost:3000'
const postgrest = new PostgrestClient(REST_URL)
```

- select(): https://supabase.io/docs/postgrest/client/select
- insert(): https://supabase.io/docs/postgrest/client/insert
- update(): https://supabase.io/docs/postgrest/client/update
- delete(): https://supabase.io/docs/postgrest/client/delete

## License

This repo is liscenced under MIT.

## Credits

- https://github.com/calebmer/postgrest-client - originally forked and adapted from @calebmer's library



## Sponsors

We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.

[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)


![Watch this repo](https://gitcdn.xyz/repo/supabase/monorepo/master/web/static/watch-repo.gif "Watch this repo")
npm package: @jcsj/daisyui-nuxt
Description: A Nuxt module for daisyUI
Latest version: 0.0.8


# daisyUI nuxt
* Never repeat yourself again in integrating daisyui in your nuxt project

[![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]

A Nuxt module for daisyUI for doing amazing things.

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

## Features

<!-- Highlight some of the features your module provide here -->
- daisyUI integration

## Quick Setup

Install the module to your Nuxt application:

```bash
npx nuxi module add @jcsj/daisyui-nuxt @nuxtjs/tailwindcss
npm add daisyui
```

That's it! You can now use daisyUI nuxt in your Nuxt app ✨
### Why two commands? 
* It let's you use your daisyui & tailwindcss version w/o waiting for a new release of this.
* <details>
  <summary>Including those two here actually fails</summary>
    1. I discovered that Nuxt's installModule does not "add" @nuxtjs/tailwindcss
    2. `requiring` daisyui does not work outside of the playground
  </details>

## Contribution

<details>
  <summary>Local development</summary>
  
  ```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
  ```

</details>


<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@jcsj/daisyui-nuxt/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@jcsj/daisyui-nuxt

[npm-downloads-src]: https://img.shields.io/npm/dm/@jcsj/daisyui-nuxt.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npmjs.com/package/@jcsj/daisyui-nuxt

[license-src]: https://img.shields.io/npm/l/@jcsj/daisyui-nuxt.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/@jcsj/daisyui-nuxt

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @jcsj/emit
Description: A Type-safe event emitter
Author: San Juan, Jean Carlo
Latest version: 0.1.1

## About
* A Type-safe event emitter

## Usage
``` ts
import makeEmit from "@jcsj/emit"

const emit = makeEmit({
    msg(content:string) {},
    search(firstName:string, lastName:string) {},
});

// Correct
emit("msg", "Happy around!")

// Error: Expected 3 arguments, but got 2. ts(2554)
emit("search", "Izumo")
```

## With Interfaces
``` ts
interface Events {
    msg(content:string):void
    search(firstName:string, lastName:string):void
}
const emit = makeEmit<Events>({
    msg(content:string) {},
    // Error: Property 'search' is missing in type '{ msg(content: string): void; }' 
    // but required in type 'Events'.ts(2345)
    // search(firstName:string, lastName:string) {}
});
```

## With Partials
``` ts
const emit =  makeEmit<Partial<Events>>({
    msg(content:string) {},
    // Allowed
    // search(firstName:string, lastName:string) {}
})
```

## With String Enums as Record keys
``` ts
enum EV {
    msg = "msg",
    search = "search",
}

interface Handlers extends Record<EV, any> {
    msg(content: string): void
    search(firstName: string, lastName: string): void
}

const emit = makeEmit<Handlers>({
    search(firstName, lastName) {},
    msg(content) {},
});

emit(EV.msg, "Happy around!")
```