open-index/open-npm huggingface dataset:
npm package: @jdachtera/react-redux-epic
Description: Server side rendering for Redux-Observable
Author: Berkeley Martinez
Latest version: 2.0.0

# React Redux Epic

This is an updated fork of the original library by BerkelyTrue which supports redux-observable@1.x, redux@4.x and rxjs@6.x

See: https://github.com/BerkeleyTrue/react-redux-epic/pull/37

[![Greenkeeper badge](https://badges.greenkeeper.io/BerkeleyTrue/react-redux-epic.svg)](https://greenkeeper.io/)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Build Status](https://travis-ci.org/BerkeleyTrue/react-redux-epic.svg?branch=master)](https://travis-ci.org/BerkeleyTrue/react-redux-epic) [![Coverage Status](https://coveralls.io/repos/github/BerkeleyTrue/react-redux-epic/badge.svg?branch=master)](https://coveralls.io/github/BerkeleyTrue/react-redux-epic?branch=master)

Server Side Rendering made easy with [Redux-Observable](https://github.com/redux-observable/redux-observable)

To install:

```bash

npm install --save redux-observable react-redux-epic

```
## Info

* [Changelog](/CHANGELOG.md)
* [Docs](/docs)
  * [API](/docs/api)

## Dev

`npm run test:watch` will start and watch tests

`npm run cover:show` will open the test coverage web page.

`npm run cover:watch` will watch for coverage changes generated by `nyc` and
regenerate new cover web files.

`npm run commit` will run [commitizen](https://github.com/commitizen/cz-cli) and will help you generate appropriately formatted commit
message.

## Examples

* [Reactivity](https://github.com/madeagency/reactivity) - A Bleeding Edge React Universal Boilerplate.
npm package: @jdachtera/storybook-simple-state
Description: A simple way to add state to your stories
Latest version: 1.0.8

Simple State for React-Storybook
================================

This project adds a simple way to add some state to your react based stories.
It provides a decorator to provide the state + an (optional) addon pane to inspect the state in realtime.

USAGE:
------

*MyComponent.story.jsx*

```
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withState, State } from '@jdachtera/storybook-simple-state';

import MyComponent from './MyComponent';

 storiesOf('<MyComponent>', module)
  .addDecorator(withState('Hello World'))
  .add('default', ({ default: [value, updateValue] }) => (
    <MyComponent
      value={value}
      onChange={updateValue}
    />
  ))
  .add('another one', ({ value, setValue }) => (
    <MyComponent
      value={value}
      onChange={setValue}
    />
  ))
  .add('with individual state', withState('Another value', ({ value, setValue }) => (
    <MyComponent
      value={value}
      onChange={setValue}
    />
  )))
  .add('use as a component', () => (
    <State initial="Hello" render={({ value, setValue }) => (
     <MyComponent
       value={value}
       onChange={setValue}
     />
    )}>
    </State>
  ))
```


*.storybook/addons.js*
```
import { register as registerSimpleState } from '@jdachtera/storybook-simple-state';

registerSimpleState();
```
npm package: @jdads/bdesign
Description: A components of pc base on vue2.X
Author: jad-fe
Latest version: 1.0.0

<p align="center">
  <a href="#vue">
    <img src="https://img.shields.io/badge/vue-2.5.13-blue">
  </a>
  <a href="LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-yellow">
  </a>
</p>

> A high-quality Vue.js 2.x UI Toolkit for Web.

## Install
```
npm install @jdads/bdesign --save
```

## Quick Start
``` javascript
import Vue from 'vue'

import JadPc from '@jdads/bdesign'

// style: theme-defult
import '@jdads/bdesign/dist/jad.css'

Vue.use(JadPc)

// or

import Datepicker from '@jdads/bdesign/src/components/Datepicker'

Vue.component('vDatepicker', Datepicker);

```

For more information, please refer to [Quick Start](https://bdesign.jd.com/components/guid/install) in our documentation.

## Browser Support
Modern browsers and Internet Explorer 10+.

## Changelog
Detailed changes for each release are documented in the [release notes](https://bdesign.jd.com/components/guid/infoLog).

## LICENSE
[MIT](LICENSE)
npm package: @jdalton/packageurl-js
Description: JavaScript library to parse and build "purl" aka. package URLs. This is a microlibrary implementing the purl spec at https://github.com/package-url
Author: John-David
Latest version: 1.5.0
Deprecated: Deprecated. Use @socketregistry/packageurl-js

# @jdalton/packageurl-js

### Installing

To install `@jdalton/packageurl-js` in your project, simply run:
```bash
npm install @jdalton/packageurl-js
```

This command will download the `@jdalton/packageurl-js` npm package for use in your application.

### Local Development

Clone the `@jdalton/packageurl-js` repo and `cd` into the directory.

Then run:
```bash
npm install
```

### Testing

To run the test suite:
```bash
npm test
```

### Usage Examples

#### Importing

As an ES6 module
```js
import { PackageURL } from '@jdalton/packageurl-js'
```

As a CommonJS module
```js
const { PackageURL } = require('@jdalton/packageurl-js')
```

#### Parsing

```js
const purlStr = 'pkg:maven/org.springframework.integration/spring-integration-jms@5.5.5'
console.log(PackageURL.fromString(purlStr))
console.log(new PackageURL(...PackageURL.parseString(purlStr)))
```

will both log

```
PackageURL {
    type: 'maven',
    name: 'spring-integration-jms',
    namespace: 'org.springframework.integration',
    version: '5.5.5',
    qualifiers: undefined,
    subpath: undefined
}
```

#### Constructing

```js
const pkg = new PackageURL(
    'maven',
    'org.springframework.integration',
    'spring-integration-jms',
    '5.5.5'
)
console.log(pkg.toString())
```

=>

```
pkg:maven/org.springframework.integration/spring-integration-jms@5.5.5
```

#### Error Handling

```js
try {
    PackageURL.fromString('not-a-purl')
} catch (e) {
    console.error(e.message)
}
```

=>

```
Invalid purl: missing required "pkg" scheme component
```

#### Helper Objects

Helpers for encoding, normalizing, and validating purl components and types can
be imported directly from the module or found on the PackageURL class as static
properties.
```js
import {
    PackageURL,
    PurlComponent,
    PurlType
} from '@jdalton/packageurl-js'

PurlComponent === PackageURL.Component // => true
PurlType === PackageURL.Type // => true
```

#### PurlComponent

Contains the following properties each with their own `encode`, `normalize`,
and `validate` methods, e.g. `PurlComponent.name.validate(nameStr)`:
  - type
  - namespace
  - name
  - version
  - qualifiers
  - qualifierKey
  - qualifierValue
  - subpath

#### PurlType

Contains the following properties each with their own `normalize`, and `validate`
methods, e.g. `PurlType.npm.validate(purlObj)`:
  - alpm
  - apk
  - bitbucket
  - bitnami
  - composer
  - conan
  - cran
  - deb
  - github
  - gitlab
  - golang
  - hex
  - huggingface
  - luarocks
  - maven
  - mlflow
  - npm
  - oci
  - pub
  - pypi
  - qpkg
  - rpm
  - swift
npm package: @jdalton/simple-xml-to-json
Description: Convert XML to JSON - Fast & Simple
Author: John-David
Latest version: 1.2.14

# A simple XML to JSON converter

## Install
Simply install using NPM in your project directory
> npm install simple-xml-to-json

## Usage and API

### 1. convertXML(xmlToConvert [,customConverter])
   * `xmlToConvert` \<string\>
   * `customConverter` \<function\>
   * Returns: \<JSON\> by default or other if `customConverter` is used
   
### 2. createAST(xmlToConvert)
   * `xmlToConvert` \<string\>
   * Returns: An AST representation of the XML \<JSON\>

Code Example:
```javascript
const {convertXML, createAST} = require("simple-xml-to-json")

const myJson = convertXML(myXMLString)
const myYaml = convertXML(myXMLString, yamlConverter)
const myAst = createAST(myXMLString)
````

---
### Typescript compatible
---

## Notes and how to use code

1. The easiest thing to start is to run `node example/example.js` in your terminal and see what happens.
2. There's the `xmlToJson.js` file for convenience. Just pass in the XML as a String.
3. It's MIT licensed so you can do whatever :)
4. Profit

## How this works in a nutshell

1. The library converts the XML to an AST
2. There is a JSON converter that takes the AST and spits out a JSON
3. You can write your own converters if you need XML-to-ANY-OTHER-FORMAT

## Benchmark

_Take these results with a grain of salt._

* [Run the test yourself](https://www.val.town/v/jdalton/simpleXmlToJson?v=10)

## Current Drawbacks

1. All values are translated to strings in JSON
2. There are currently reserved words in the JSON converter: 
    * "content" 
    * "children"

    so you cannot by default have an attribute with that name and free text as the content of the element or have nested elements as children.
    
    *If you need to, you can write your own converter from the AST created by the parser, and pass it as a 2nd parameter after the xml string*