open-index/open-npm huggingface dataset:
npm package: @meysam213/react-neshan-map-leaflet
Description: ⚛️ React component for 🍃 Neshan Leaflet map.
Author: meysam213
Latest version: 1.1.7

# React-leaflet for Next.js

this package fixed problems react-neshan-leaflet & leaflet for `next.js` & `react`

> Next.js 11.1.2 is Passed ✔

### install with npm

`$ npm install @meysam213/react-neshan-map-leaflet`

### install with yarn

`$ yarn add @meysam213/react-neshan-map-leaflet`

> notice: Due to being SSR, it is necessary to use import dynamics

## Author

Github: [@premier213](https://guthub.com/premier213)

Twitter : [@premier213](https://twitter.com/premier213)
npm package: @meysam213/udf
Description: This folder contains [UDF](https://github.com/tradingview/charting_library/wiki/UDF) datafeed adapter. It implements [JS API](https://github.com/tradingview/charting_library/wiki/JS%20API) and makes HTTP requests using [UDF](https://github.com/tradingview
Latest version: 0.1.0

# UDF Compatible Datafeed

This folder contains [UDF](https://github.com/tradingview/charting_library/wiki/UDF) datafeed adapter. It implements [JS API](https://github.com/tradingview/charting_library/wiki/JS%20API) and makes HTTP requests using [UDF](https://github.com/tradingview/charting_library/wiki/UDF) protocol.

You can use this datafeed adapter to plug your data if you implement [UDF](https://github.com/tradingview/charting_library/wiki/UDF) on your server. You can also scrutinize how it works before writing your own adapter.

This datafeed is implemented in [TypeScript](https://github.com/Microsoft/TypeScript/).

## Folders content

- `./src` folder contains the source code in TypeScript.

- `./lib` folder contains transpiled in es5 code. So, if you do not know how to use TypeScript - you can modify these files to change the result bundle later.

- `./dist` folder contains bundled JavaScript files which can be inlined into a page and used in the Widget Constructor.

## Build & bundle

Before building or bundling your code you need to run `npm install` to install dependencies.

`package.json` contains some handy scripts to build or generate the bundle:

- `npm run compile` to compile TypeScript source code into JavaScript files (output will be in `./lib` folder)
- `npm run bundle-js` to bundle multiple JavaScript files into one bundle (it also bundle polyfills)
- `npm run build` to compile and bundle (it is a combination of all above commands)

NOTE: if you want to minify the bundle code, you need to set `ENV` environment variable to a value different from `development`.

For example:

```bash
export ENV=prod
npm run bundle-js # or npm run build
```

or

```bash
ENV=prod npm run bundle-js
```

or

```bash
ENV=prod npm run build
```