open-index/open-npm huggingface dataset:
npm package: @gnl-org/base-design-system
Description: A reusable React design system with theme, colors, spacers, sizes, corner radius, fonts, and components.
Author: Your Name
Latest version: 0.1.17

# @base/design-system

A reusable React design system with theme, colors, spacers, sizes, corner radius, fonts, and components (Button, Card, Typography, Checkbox, Radio, etc).

## Installation

```sh
npm install @base/design-system
```

## Usage

```tsx
import { Button, Card, Typography, Checkbox, Radio, theme } from '@base/design-system';

export default function Example() {
  return (
    <Card>
      <Typography variant="h1">Hello Design System</Typography>
      <Button variant="primary">Click me</Button>
      <Checkbox label="Accept terms" />
      <Radio label="Option 1" name="group" />
    </Card>
  );
}
```

## Theming

All theme values (colors, spacers, sizes, fonts, etc) are exported from the `theme` object. You can use or override them as needed.

## Components
- **Button**: Variants: primary, secondary, outline, ghost. Sizes: sm, md, lg.
- **Card**: Variants: elevated, outlined, flat.
- **Typography**: Variants: display, h1, h2, h3, h4, body, caption.
- **Checkbox**: Custom styled checkbox.
- **Radio**: Custom styled radio.

## Development

- `npm run build` — Build the library to `dist/`
- `npm publish` — Publish to npm (after build)

## Example App
See the `example/` folder for a sample React app using this design system.

---
MIT License
npm package: @gnodi/ecma-version
Description: Need a package to get the ECMAScript version of a browser? You found it!
Author: Thomas Prelot
Latest version: 0.1.0

# @gnodi/ecma-version

[Node.js] Need a package to get the ECMAScript version of a browser? You found it!

[![Build][build-image]][build-url]
[![Coverage Status][coverage-image]][coverage-url]
[![Version][version-image]][version-url]
[![Downloads][downloads-image]][downloads-url]
[![Dependencies][dependencies-image]][dependencies-url]
[![Dev Dependencies][dev-dependencies-image]][dev-dependencies-url]

## Installation

Run the following command to add the package to your dev dependencies:
```sh
$ npm install --save @gnodi/ecma-version
```

## Use
```js
const ecmaVersion = require('@gnodi/ecma-version');
```

### Get the ECMAScript version from a browser name and version
```js
ecmaVersion.getFromBrowser('Firefox', 10); // Return 5
ecmaVersion.getFromBrowser('Firefox', 55); // Return 6
```

### Get the ECMAScript version from a user agent
```js
ecmaVersion.getFromUserAgent(
  'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36'
);
```

### Get the ECMAScript version from a HTTP request object
```js
const http = require('http');

http.createServer((req) => {
  const version = ecmaVersion.getFromRequest(req);

  console.log(version);
}).listen(3080);
```

### Get the browser compatible version for an ECMAScript version
```js
ecmaVersion.getBrowserCompatibleVersion('Firefox', 5); // Return 0
ecmaVersion.getBrowserCompatibleVersion('Firefox', 6); // Return 53
ecmaVersion.getBrowserCompatibleVersion('IE', 6); // Return null
```

### LICENSE

[MIT](LICENSE)

[build-image]: https://img.shields.io/travis/gnodi/ecma-version.svg?style=flat
[build-url]: https://travis-ci.org/gnodi/ecma-version
[coverage-image]:https://coveralls.io/repos/github/gnodi/ecma-version/badge.svg?branch=master
[coverage-url]:https://coveralls.io/github/gnodi/ecma-version?branch=master
[version-image]: https://img.shields.io/npm/v/@gnodi/ecma-version.svg?style=flat
[version-url]: https://npmjs.org/package/@gnodi/ecma-version
[downloads-image]: https://img.shields.io/npm/dm/@gnodi/ecma-version.svg?style=flat
[downloads-url]: https://npmjs.org/package/@gnodi/ecma-version
[dependencies-image]:https://david-dm.org/gnodi/ecma-version.svg
[dependencies-url]:https://david-dm.org/gnodi/ecma-version
[dev-dependencies-image]:https://david-dm.org/gnodi/ecma-version/dev-status.svg
[dev-dependencies-url]:https://david-dm.org/gnodi/ecma-version#info=devDependencies
npm package: @gnodi/eslint-config
Description: Lint your code like gnodi's one!
Author: Thomas Prelot
Latest version: 0.4.0

# @gnodi/eslint-config

[Node.js] Lint your code like gnodi!

[![Build][build-image]][build-url]
[![Version][version-image]][version-url]
[![Downloads][downloads-image]][downloads-url]
[![Dependencies][dependencies-image]][dependencies-url]
[![Dev Dependencies][dev-dependencies-image]][dev-dependencies-url]

## Installation

Run the following command to add the package to your dev dependencies:
```sh
$ npm install --save-dev @gnodi/eslint-config
```

## Use

### Use gnodi lint helper script

Add the following line to your `package.json`:
```json
...
"scripts": {
  ...
  "lint": "gnodi-lint"
}
...
```

Then, you can immediately run the lint:
```sh
$ npm run lint
```

### Add custom checked glob

By default, only js files from directories `.`, `bin`, `config`, `lib`, `src` and `test` are processed.
You can add your own custom directories/files/globs passing it as arguments to your command `gnodi-lint`:
```json
...
"scripts": {
  ...
  "lint": "gnodi-lint dist/bundle.js build/**/*.js"
}
...
```

### Override with custom rules

You can override some [rules](http://eslint.org/docs/rules/) with your own ones just using a standard `.eslintrc`:
```json
{
  "extends": "@gnodi",
  "rules": {
    "comma-dangle": ["error", "always"]
  }
}
```

### LICENSE

[MIT](LICENSE)

[build-image]: https://img.shields.io/travis/gnodi/eslint-config.svg?style=flat
[build-url]: https://travis-ci.org/gnodi/eslint-config
[version-image]: https://img.shields.io/npm/v/@gnodi/eslint-config.svg?style=flat
[version-url]: https://npmjs.org/package/@gnodi/eslint-config
[downloads-image]: https://img.shields.io/npm/dm/@gnodi/eslint-config.svg?style=flat
[downloads-url]: https://npmjs.org/package/@gnodi/eslint-config
[dependencies-image]:https://david-dm.org/gnodi/eslint-config.svg
[dependencies-url]:https://david-dm.org/gnodi/eslint-config
[dev-dependencies-image]:https://david-dm.org/gnodi/eslint-config/dev-status.svg
[dev-dependencies-url]:https://david-dm.org/gnodi/eslint-config#info=devDependencies
npm package: @gnodi/generator-lib
Description: [Node.js] Generate a gnodi lib with Yeoman!
Author: Thomas Prelot
Latest version: 0.1.1

# @gnodi/generator-lib

[![Build][build-image]][build-url]
[![Version][version-image]][version-url]
[![Downloads][downloads-image]][downloads-url]
[![Dependencies][dependencies-image]][dependencies-url]
[![Dev Dependencies][dev-dependencies-image]][dev-dependencies-url]

Generate a gnodi lib with [Yeoman](http://yeoman.io)!

## Installation

First, install yo:

```bash
$ npm install -g yo
```

Then, install the generator:

```bash
$ npm install -g @gnodi/generator-lib
```

## Use

### Generate a lib boilerplate

Generate a lib boilerplate using the command:

```bash
$ yo @gnodi/lib
```

Or simply use the Yeoman interface and chose the generator `@gnodi/lib`:

```bash
$ yo
```

### LICENSE

[MIT](LICENSE)

[build-image]: https://img.shields.io/travis/gnodi/generator-lib.svg?style=flat
[build-url]: https://travis-ci.org/gnodi/generator-lib
[version-image]: https://img.shields.io/npm/v/@gnodi/generator-lib.svg?style=flat
[version-url]: https://npmjs.org/package/@gnodi/generator-lib
[downloads-image]: https://img.shields.io/npm/dm/@gnodi/generator-lib.svg?style=flat
[downloads-url]: https://npmjs.org/package/@gnodi/generator-lib
[dependencies-image]:https://david-dm.org/gnodi/generator-lib.svg
[dependencies-url]:https://david-dm.org/gnodi/generator-lib
[dev-dependencies-image]:https://david-dm.org/gnodi/generator-lib/dev-status.svg
[dev-dependencies-url]:https://david-dm.org/gnodi/generator-lib#info=devDependencies