open-index/open-npm huggingface dataset:
npm package: @comparto/prettier-config
Description: ![actions][actions-badge] [![version][version-badge]][package] [![downloads][downloads-badge]][npmtrends] [![semantic-release][semantic-release-badge]][semantic-release] [![code style: prettier][prettier-badge]][prettier]
Author: @jimmy-guzman
Latest version: 1.2.0

![actions][actions-badge]
[![version][version-badge]][package] [![downloads][downloads-badge]][npmtrends]
[![semantic-release][semantic-release-badge]][semantic-release]
[![code style: prettier][prettier-badge]][prettier]

# @comparto/prettier-config

Shareable prettier config

## Usage

**Install**:

```sh
yarn add --dev @comparto/prettier-config
```

**Edit `package.json`**:

```json
{
  "prettier": "@comparto/prettier-config"
}
```

[Or for more control](https://prettier.io/docs/en/configuration.html#sharing-configurations)

## Related

- [@comparto/eslint-config](https://github.com/jimmy-guzman/comparto-eslint-config)

[actions-badge]: https://img.shields.io/github/workflow/status/jimmy-guzman/comparto-prettier-config/cicd?label=actions&logo=github-actions&style=flat-square
[version-badge]: https://img.shields.io/npm/v/@comparto/prettier-config.svg?logo=npm&style=flat-square
[package]: https://www.npmjs.com/package/@comparto/prettier-config
[downloads-badge]: https://img.shields.io/npm/dm/@comparto/prettier-config.svg?logo=npm&style=flat-square
[npmtrends]: http://www.npmtrends.com/@comparto/prettier-config
[semantic-release]: https://github.com/semantic-release/semantic-release
[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square
[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
[prettier]: https://github.com/prettier/prettier
npm package: @datapool/zhoukou.geojson
Description: 周口地图数据
Author: 你好2007
Latest version: 1.0.0

# Zhoukou.geoJSON
🗄️ 周口地图数据。

## Issues
使用的时候遇到任何问题或有好的建议，请点击进入[issue](https://github.com/hai2007/datapool/issues)，欢迎参与维护！

## How to use?

请直接在页面中加入下面这行代码，然后通过```ZhoukouGeoJSON```即可调用：

```html
<script src="https://cdn.jsdelivr.net/npm/@datapool/zhoukou.geojson@1"></script>
```

如果你想通过npm方式管理，首先你需要通过命令行安装``````ZhoukouGeoJSON``````，就像这样：

```bash
npm install --save @datapool/zhoukou.geojson
```

安装好了以后，在需要的地方引入即可：

```js
import ZhoukouGeoJSON from '@datapool/zhoukou.geojson';
```

或

```js
const ZhoukouGeoJSON = require("@datapool/zhoukou.geojson");
```

开源协议
---------------------------------------
[MIT](https://github.com/hai2007/datapool/blob/master/LICENSE)

Copyright (c) 2022 [hai2007](https://hai2007.gitee.io/sweethome/) 走一步，再走一步。
npm package: @datapool/zunyi.geojson
Description: 遵义地图数据
Author: 你好2007
Latest version: 1.0.0

# Zunyi.geoJSON
🗄️ 遵义地图数据。

## Issues
使用的时候遇到任何问题或有好的建议，请点击进入[issue](https://github.com/hai2007/datapool/issues)，欢迎参与维护！

## How to use?

请直接在页面中加入下面这行代码，然后通过```ZunyiGeoJSON```即可调用：

```html
<script src="https://cdn.jsdelivr.net/npm/@datapool/zunyi.geojson@1"></script>
```

如果你想通过npm方式管理，首先你需要通过命令行安装``````ZunyiGeoJSON``````，就像这样：

```bash
npm install --save @datapool/zunyi.geojson
```

安装好了以后，在需要的地方引入即可：

```js
import ZunyiGeoJSON from '@datapool/zunyi.geojson';
```

或

```js
const ZunyiGeoJSON = require("@datapool/zunyi.geojson");
```

开源协议
---------------------------------------
[MIT](https://github.com/hai2007/datapool/blob/master/LICENSE)

Copyright (c) 2022 [hai2007](https://hai2007.gitee.io/sweethome/) 走一步，再走一步。
npm package: @dataset.sh/stitch
Description: `@dataset.sh/stitch` is a package for bundling `@dataset.sh/shu` files.
Latest version: 0.0.4

# @dataset.sh/stitch

`@dataset.sh/stitch` is a package for bundling `@dataset.sh/shu` files.

## Usage


### Global install:
```shell
npm install -g @dataset.sh/stitch
npx @dataset.sh/stitch init
npx @dataset.sh/stitch package          
```

### Project based:

```shell
npm install --dev @dataset.sh/stitch
```

Or if you are using yarn
```shell
yarn add -D @dataset.sh/stitch
```

Then add this to 
```json

```

```shell
yarn stitch init
yarn stitch 
```
npm package: @datawrapper/orm
Description: A database abstraction layer for Datawrapper
Author: Datawrapper GmbH
Latest version: 3.22.3-ssl3

# datawrapper-orm
A database abstraction layer for Datawrapper

Usage:

Add the package to your repository using:

```
npm i --save "@datawrapper/orm"
```

In your app you need to initialize the ORM before you can do anything else with it. It's a good idea to do this in your apps main entry point:

```js
const orm = require('@datawrapper/orm');

orm.init({
    dialect: 'mysql',
    host: '127.0.0.1',
    port: 3306,
    user: '...',
    password: '...',
    database: '...'
});
```

Then you can load the models using:

```js
const { Chart, User } = require('@datawrapper/orm/models');
```

Note that this will initialize the entire model, which assumes that your database user has access to all the database tables. If this is not the case you can load individual models using

```js
const User = require('@datawrapper/orm/models/User');
```

### Plugins

The ORMs functionality can be extended with plugins. This is needed, for example, when new database tables are needed. The plugin API follows the convention of plugins in [datawrapper/api](https://github.com/datawrapper/api#plugins).

A simple ORM plugin that does nothing looks like this:

```js
/* config.js */
plugins: {
    'my-orm-plugin': {
        my_name: 'Steve'
    }
}

/* orm.js */
module.exports = {
    register: async (ORM, config) => {
        console.log(`Hi I am ${config.my_name}!`)
        // logs "Hi I am Steve!" on registration
    }
}
```

There are 2 interesting properties on the `ORM` object that help with plugin access.

* `ORM.plugins` is an object with all configured plugins. They are **not** registered by default. Since standard `Models` are not defined after `ORM.init()` either, it wouldn't make sense to do that for plugins.

This is how you register a plugin:

```js
await ORM.init()
const { plugins } = ORM

const MyORMPlugin = require(plugins['my-orm-plugin'].requirePath)
await MyORMPlugin.register(ORM, plugins['my-orm-plugin'])
```

This method is very useful for tests where you only need a special plugin. There is also a helper method to register all plugins. It is in functionality similar to requiring all models with `require('@datawrapper/orm/models')`.

* `ORM.registerPlugins` will register all plugins.

```js
await ORM.init()
await ORM.registerPlugins()
```