open-index/open-npm huggingface dataset:
npm package: @marceljager/use-worker
Description: useWorker() - Web worker using React hook
Author: alewin
Latest version: 4.0.2

<h1 align="center">
  <br>
  <img width="300px" src="../../logo.png" alt="useWorker"
    title="useWorker() Use web workers with react hook" />
  <br>
</h1>

<h2 align="center">
  Use web workers with react hook
  <br />
  https://useworker.js.org/  
  <a
    href="https://twitter.com/intent/tweet?text=useWorker - Use web workers with react hooks&url=https://github.com/alewin/useWorker&via=alessiokoci&hashtags=react,useworker,hooks,javascript">
    <br />
    <img alt="Tweet" src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social" />
  </a>
</h2>

<h3 align="center">
  <img alt="GitHub" src="https://img.shields.io/npm/dm/@koale/useworker" />
  <img alt="size" src="https://img.shields.io/bundlephobia/minzip/@koale/useworker/4.0.2" />
  <img alt="GitHub" src="https://img.shields.io/npm/l/@koale/useworker" />
 <img src="https://camo.githubusercontent.com/6ef0a300e96da21e04d4d45bf54285202674498c/68747470733a2f2f62616467656e2e6e65742f62616467652f547970655363726970742f537570706f7274" alt="TypeScript Support" title="TypeScript Support" data-canonical-src="https://badgen.net/badge/TypeScript/Support" style="max-width:100%;">
</h3>

---

## Docs 

Read [Docs](../../README.md)
npm package: @marcelkloubert/tsconfig
Description: Personal tsconfig.json, which can be used by anyone.
Author: Marcel Joachim Kloubert
Latest version: 0.1.1

[![npm](https://img.shields.io/npm/v/@marcelkloubert/tsconfig.svg)](https://www.npmjs.com/package/@marcelkloubert/tsconfig)
[![last build](https://img.shields.io/github/workflow/status/mkloubert/js-strings/Publish)](https://github.com/mkloubert/tsconfig/actions?query=workflow%3APublish)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/mkloubert/tsconfig/pulls)

# @marcelkloubert/tsconfig

Shared [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) config files, which can be used by anyone.

## Install

```
$ npm i -D @marcelkloubert/tsconfig
```

## Usage

### tsconfig.json

```json
{
  "extends": "@marcelkloubert/tsconfig",
  "compilerOptions": {
    "outDir": "lib",
    "rootDir": "src",
  },
  "exclude": ["node_modules"]
}
```

## License

MIT © [Marcel Joachim Kloubert](https://github.com/mkloubert)

## Support

<span class="badge-paypal"><a href="https://paypal.me/MarcelKloubert" title="Donate to this project using PayPal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span>
<span class="badge-patreon"><a href="https://patreon.com/mkloubert" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span>
<span class="badge-buymeacoffee"><a href="https://buymeacoffee.com/mkloubert" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a></span>

Or visit https://marcel.coffee
npm package: @marcelkordek/tiny
Description: Removes all spaces from a string
Author: Marcel Kordek
Latest version: 0.0.4

# @marcelkordek/tiny

[![npm (scoped)](https://img.shields.io/npm/v/@marcelkordek/tiny)](https://github.com/marcelkordek/tiny) [![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@marcelkordek/tiny)](https://github.com/marcelkordek/tiny)

NPM Package - Removes all spaces from a string

## Install

```
$ npm install @marcelkordek/tiny
```

## Usage

```js
const tiny = require("@marcelkordek/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: @marcellejs/backend
Description: A simplified backend system for Marcelle applications.
Author: Jules Françoise
Latest version: 0.6.5

# marcelle-backend

A simplified backend system for Marcelle applications.

[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

## About

This is a wrapper around [Feathers](http://feathersjs.com) that provides a simplified interface for the creation of Marcelle data backends.

It currently supports NeDB and MongoDB databases.

## Getting Started

[Online Documentation](https://marcelle.dev/api/data-storage.html#server-side-storage)

The easiest way to get started is to use Marcelle's [CLI](https://marcelle.dev/cli.html). In an existing Marcelle application, run the cli with `npx marcelle`. Select 'Manage the backend', then 'Configure a backend'. this will install `@marcellejs/backend` as a dependency to your project and create configuration files.

Two database systems are currently available for storing data:

- [NeDb](https://github.com/louischatriot/nedb) - an embedded datastore with a MongoDB like API. NeDB can store data in-memory or on the filesystem which makes it useful as a persistent storage without a separate database server.
- [MongoDb](https://www.mongodb.com/)

The CLI will install `@marcellejs/backend` and store configuration files in `backend/config`.

To run the backend locally:

```sh
npm run backend
```

The backend API will be available on [http://localhost:3030](http://localhost:3030). From a Marcelle application, interacting with this backend can be done through data stores, by instanciating them with the server URL as `location` parameter:

```js
const store = dataStore('http://localhost:3030');
```

## Configuration

The backend can be configured using the file `backend/config/default.json`.

The main options are:

- `database`: `nedb` or `mongodb`. For MongoDB, you will have to run mongod locally.
- `authentication.enabled`: specifies if the backend should use authentication

## ✍️ Authors

- [@JulesFrancoise](https://github.com/JulesFrancoise/)
- [@bcaramiaux](https://github.com/bcaramiaux/)

## 🔨 Built Using

- [Feathers](https://feathersjs.com/)
npm package: @marcellejs/cli
Description: Command-line Marcelle generator
Author: Jules Françoise
Latest version: 0.0.5

# Marcelle CLI

[![npm version](https://img.shields.io/npm/v/@marcellejs/cli)](https://www.npmjs.com/package/@marcellejs/cli)
![Status](https://img.shields.io/badge/status-active-success.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

A command line interface for Marcelle applications

## Installation

The CLI is an npm package that must be installed globally:

```bash
npm install -g @marcellejs/cli
```

Once installed, the `marcelle` command should be available:

```bash
marcelle --version
```

## Usage

### Generating an Application

To generate a new project:

```bash
mkdir myproject
cd myproject
marcelle generate app
```

Several options are available to customize the project. If you don't know what to chose, just hit enter to select the defaults.

This will scaffold a new Marcelle project with the following structure (it might vary according to the build tool, this example is for vite):

```bash
.
├── README.md
├── index.html     # The main HTML page for your application
├── package.json
├── src
│   ├── index.js   # Main application script
│   └── modules    # Directory containing local modules bundled with your application
│       └── index.js
└── vite.config.js # Build tool configuration file
```

To run the application in development mode (with HMR), run:

```bash
npm run dev # or yarn dev
```

### Generating a Module

It is possible to use the generator to create new custom modules for an application or a marcelle package.

```bash
marcelle generate module
```

Just enter your module's name (e.g. `my-module`) and the generator will create a template module that you can your in your script:

```js
import { myModule } from "./modules";

const m = myModule(opts);
```

Modules are stored in the `src/modules` directory and provide a [Svelte](https://svelte.dev) view by default:

```bash
.
├── src
│   └── modules
│       ├── my-module
│       │   ├── my-module.module.js # Module definition file
│       │   ├── my-module.svelte    # Svelte component defining the module's view
│       │   └── index.js            # function wrapper
│       └── index.js
```

### Generating a Backend

It is possible to use the generator to add server-side data storage (backend).

```bash
marcelle generate backend
```

Two options are available for the backend:

- The type of database: [NeDB](https://github.com/louischatriot/nedb) and [MongoDB](https://www.mongodb.com/) are currently supported.
- Whether or not it should use authentication.

To run the server:

```bash
npm run backend
```

The backend configuration files are stored in `backend/configuration`.

## About

Marcelle CLI's generators are provided by [generator-marcelle](https://github.com/marcellejs/generator-marcelle).

## ✍️ Authors

- [@JulesFrancoise](https://github.com/JulesFrancoise/)
- [@bcaramiaux](https://github.com/bcaramiaux/)

## 🎉 Acknowledgements

- [Feathers CLI](https://github.com/feathersjs/cli)
- [Yeoman](https://yeoman.io/)