open-index/open-npm huggingface dataset:
npm package: @magiclab/obfuscator-loader
Description: A webpack loader for obfuscating single modules using javascript-obfuscator
Author: Valerio Bianchi
Latest version: 1.1.4

# obfuscator-loader for webpack

This is a module loader for webpack wich obfuscate module source code using [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).  

## Installation
```npm install --save-dev obfuscator-loader```

## What's new in 1.1.1
`stringArray` option is now available. Thank you [Timofey Kachalov](https://github.com/zakplus/obfuscator-loader/issues/1).


## Why not a plugin?
Obfuscating code can results in quite large files. It's a good idea to obfuscate only your code leaving third party libraries unobfuscated.
This is simple to achieve using a plugin if you plan to split your code and third party code in different bundles. Take a look at [this plugin](https://github.com/javascript-obfuscator/webpack-obfuscator).  


Sometimes you need to output a single js bundle but you still need to obfuscate the source code of some particular module. In these cases a loader can do the trick.  
For example I happened to had to bundle a big third party library (not a module of any sort, I had to use [script-loader](https://github.com/webpack-contrib/script-loader)) in one of my project and I was requested to obfuscate my code. 

## Usage
Define a rule in your webpack config and use the obfuscator-loader as the last of your loaders for your modules. You can add the **enforce: 'post'** flag to ensure the loader will be called after normal loaders:

```javascript
module.exports = {
  module: {
    rules: [
      {
        test: /\.js$/,
        include: [ path.resolve(__dirname, "justMySources") ],
        enforce: 'post',
        use: { loader: 'obfuscator-loader', options: {/* options here */} }
      },
    ]
  }
};
```

## Options
This loader accepts the same options object of [javascript-obfuscator](https://www.npmjs.com/package/javascript-obfuscator#options)

## License
```
MIT License

Copyright (c) 2018 Valerio Bianchi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
npm package: @magiclab/ts-recursive-parser
Description: This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.
Latest version: 0.0.1

# ts-recursive-parser

This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.

This is in pre-pre-alpha stage right now, we have a proof of concept which works.

## Todo

* Expose correct APIs
* Add unit tests
* Document examples
* Double check the shape of returned object, make sure they are consistent
* Add more examples of very complex types
* Improve the building system

# To run it locally

```bash
yarn
tsc index.ts --m commonjs
yarn ts-node index.ts examples/nested-types/index.tsx
```
npm package: @magiclab/typescript-docgen
Description: This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.
Author: Nikhil Verma
Latest version: 0.0.11

# ts-recursive-parser

This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.

This is in alpha stage right now, we have a proof of concept which works and need to test it on bigger projects internally at MagicLab before exposing it further.

## Todo

* Expose correct APIs
* Document examples

# To test it locally

```bash
npm test
```
npm package: @magiclabs/create-magic-app
Description: A tool for quickly scaffolding an app with Magic authentication baked-in!
Author: Magic Labs
Latest version: 0.1.3
Deprecated: This package is deprecated. Please use 'npx make-magic' instead.

# 🪄 `@magiclabs/create-magic-app`

> A tool for quickly scaffolding an app with Magic authentication baked-in!

<p align="center">
  <a href="https://github.com/magiclabs/create-magic-app/blob/master/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/create-magic-app/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 🚀 Usage

Getting started with the interactive scaffolding tool is easy. Just run the following command in your preferred shell:

```zsh
npx @magiclabs/create-magic-app
```

Follow the interactive prompts to customize your project. Done! ✨
npm package: @magiclabs/shamirs-secret-sharing
Description: A simple implementation of Shamir's Secret Sharing configured to use a finite field in GF(2^8) with 128 bit padding
Author: Joseph Werle
Latest version: 1.0.1

shamirs-secret-sharing
======================

A simple implementation of Shamir's Secret Sharing configured to use a
finite field in GF(2^8) with 128 bit padding.

## Preface

Much of what you see in this module has been ported from or
directly influenced by
[secrets.js](https://github.com/grempe/secrets.js),
[c-sss](https://github.com/fletcher/c-sss), and
[libgfshare](https://launchpad.net/libgfshare)

## Installation

```sh
$ npm install shamirs-secret-sharing
```

## Example Usage

```js
const sss = require('shamirs-secret-sharing')
const secret = Buffer.from('secret key')
const shares = sss.split(secret, { shares: 10, threshold: 4 })
const recovered = sss.combine(shares.slice(3, 7))
console.log(recovered.toString()) // 'secret key'
```

## API

### `shares = sss.split(secret, opts)`

Generate a set of unique and distinct shares for a secret with a
configured threshold.

* `secret` (**required**) - A `Buffer` instance or `string` that represents a
  secret for which shares are created for
* `opts` (**required**) - An object of options for configuring how
  shares are created for a secret
  * `opts.shares` (**required**) - The number of `n` shares that should
    be created for this secret
  * `opts.threshold` (**required**) - The number of `t` of `n` distinct share
    that are required to reconstruct this secret
  * `opts.random` (*optional*) - An optional _Pseudorandom number
    generator_ (PRNG) function that should generate a random value
    buffer based on some input. e.g `opts.random = (size) =>
    randomBytes(size)`

### `secret = sss.combine(shares)`

Reconstruct a secret from a distinct set of shares. This function _will
not_ throw an error for incorrect shares or if `p(0)` is not the correct
secret for the given shares.

* `shares` (**required**) - An array of shares, that is an array of
  equally sized and distinct `Buffer` instances, or _strings_

## See Also

* https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing
* https://en.wikipedia.org/wiki/Secret_sharing
* https://en.wikipedia.org/wiki/Lagrange_polynomial
* https://en.wikipedia.org/wiki/Horner%27s_method
* https://en.wikipedia.org/wiki/Pseudorandom_number_generator
* https://codesandbox.io/s/shamirs-secret-sharing-pcsbk

## License

MIT
npm package: @magiclabs/ui
Description: 💅 A progressive, themeable UI framework for building magical user experiences.
Author: Magic Labs
Latest version: 0.27.4

# 💅 Magic UI

> A progressive, themeable UI framework for building magical user experiences.

<p align="center">
  <a href="https://github.com/magiclabs/storybook/blob/master/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/storybook/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 📖 Documentation

[Coming soon...]

## 🔗 Installation

Integrating your app with Magic UI requires our client-side NPM package:

```bash
# Using NPM:
npm install --save @magiclabs/ui

# Using Yarn:
yarn add @magiclabs/ui
```

### Install required `peerDependencies`:

If using **`npm@>5.x`**, use this shortcut (`yarn` will be automatically detected, if in use):

```sh
npx install-peerdeps --dev @magiclabs/ui
```

Alternatively, Linux and macOS users can one of these commands:

```sh
# Using NPM:
(
  export PKG=@magiclabs/ui;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```

```sh
# Using Yarn:
(
  export PKG=@magiclabs/ui;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add -D "$PKG@latest"
)
```