open-index/open-npm huggingface dataset:
npm package: @radarrelay/tslint-config
Description: A TSLint config with sensible rules for the 0x protocol, Airbnb, Prettier, and more.
Author: Ian K Smith
Latest version: 5.0.0
Deprecated: Use @radar/tslint-config@5.0.1 instead. This package will receive no further updates.

# ⚙️ tslint-config

[![code style: airbnb](https://img.shields.io/badge/code%20style-airbnb-blue.svg?style=flat)](https://github.com/airbnb/javascript)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)

> A [TSLint config](https://palantir.github.io/tslint/usage/configuration/) with sensible rules for 0x protocol, Airbnb, Prettier, and more.

## 🔗 Installation

Install via `npm`:

```sh
npm install @radarrelay/tslint-config --save-dev
```

Ensure you also have the required `peerDependencies` installed:

```sh
npm install tslint@^5.11.0 typescript@^3.0.3 prettier@^1.14.0 --save-dev
```

## 🛠️ Usage

By default, only `airbnb` and `prettier` configurations are included. Each configuration is available as a separate file so you can mix in just what you need!

In `tslint.json`:

```javascript
{
  "extends": "@radarrelay/tslint-config"
}
```

or:

```javascript
{
  "extends": [
    "@radarrelay/tslint-config/0x"
    "@radarrelay/tslint-config/airbnb",
    "@radarrelay/tslint-config/prettier", // NOTE: Prettier should always be the last in the list.
  ]
}
```

## ⚡ Configuration

### Rules

- [`tslint`](https://palantir.github.io/tslint/rules/)
- [`tslint-config-airbnb`](https://github.com/progre/tslint-config-airbnb)
  - [`tslint-eslint-rules`](https://github.com/buzinas/tslint-eslint-rules)
  - [`tslint-consistent-codestyle`](https://github.com/ajafff/tslint-consistent-codestyle)
  - [`tslint-microsoft-contrib`](https://github.com/Microsoft/tslint-microsoft-contrib)
- [`@0xproject/tslint-config`](https://github.com/0xProject/0x-monorepo/tree/development/packages/tslint-config)
- [`tslint-config-prettier`](https://github.com/alexjoverm/tslint-config-prettier)

### Plugins

- [`tslint-plugin-prettier`](https://github.com/ikatyang/tslint-plugin-prettier)

## 🗜️ Versioning

```
+————— Major version is synchronized with TSLint's major version.
| +——— Minor version has BREAKING CHANGES or features.
| | +— Patch version has non-breaking changes.
| | |
x.x.x
```
npm package: @radarrelay/web3-builder
Description: A tool to build and manage your own Web3 instance.
Author: Radar Relay
Latest version: 0.2.0

# web3-builder

A tool to build and manage your own Web3 instance.

[![npm version](https://badge.fury.io/js/%40radarrelay%2Fweb3-builder.svg)](https://badge.fury.io/js/%40radarrelay%2Fweb3-builder)

## Introduction

This package simplifies the process to create your own [Web3](https://github.com/ethereum/wiki/wiki/JavaScript-API) instance, change the active wallet, and update the connection to the Ethereum network.

This is made possible using building blocks called subproviders. Subproviders are like normal web3 providers, but only handle a subset of RPC methods. They can be used to route, or otherwise handle, RPC calls before returning a result to the caller.

**web3-builder** uses subproviders to build out the Web3 object like so:

<img width="327" alt="screen shot 2018-06-01 at 12 13 31 pm" src="https://user-images.githubusercontent.com/20102664/40861917-0d305ebc-65a8-11e8-9456-f8ab622c8ec4.png">

If you'd like more flexibility when creating Web3 Providers consider using [web3-provider-engine](https://github.com/MetaMask/provider-engine) directly.


## Installation

### npm

```
npm install @radarrelay/web3-builder
```

### Yarn

```
yarn add @radarrelay/web3-builder
```

## Usage

### Web3 Creation

```javascript
import { Web3Builder } from '@radarrelay/web3-builder';
import { InjectedWeb3Subprovider } from '@radarrelay/subproviders';

const walletSubprovider = new InjectedWeb3Subprovider(window.web3.currentProvider);
let web3 = Web3Builder.createWeb3(walletSubprovider, InfuraNetwork.Kovan);
```

### Update Wallet

```javascript
import { EthLightwalletSubprovider } from '@radarrelay/subproviders';

const newWalletSubprovider = new EthLightwalletSubprovider(signing, keystore, pwDerivedKey);

// Updating the wallet returns a new instance of web3
web3 = Web3Builder.updateWallet(newWalletSubprovider);
```

### Update Network

```javascript
// Updating the rpc connection returns a new instance of web3
web3 = Web3Builder.updateRpcConnection(InfuraNetwork.Mainnet);
```

### Grab the Provider

Want to use your own version of Web3?

You can grab the Ethereum Provider and instantiate your preferred version of Web3:

```javascript
import * as Web3 from 'web3';

const anotherWeb3Instance = new Web3(web3.currentProvider);
```

OR

```javascript
import * as Web3 from 'web3';

const anotherWeb3Instance = new Web3(web3Builder.provider);
```

## Contributing

Please read [CONTRIBUTING.md](https://github.com/RadarRelay/web3-builder/blob/master/CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/RadarRelay/web3-builder/blob/master/LICENSE.md) file for details.
npm package: @radartech/redshift-types
Description: redshift common types
Author: RadarTech
Latest version: 0.1.4
Deprecated: This package is now published as @radar/redshift-types

## @radartech/redshift-types

Common types used across Redshift codebases

### Usage
Update `typeRoots` in `tsconfig.json` for declarations access:
```
"typeRoots": ["node_modules/@radartech/redshift-types/src/declarations", "node_modules/@types"]
```
npm package: @radarvn-crypto/data-module
Description: Shared module for Radarvn Crypto
Author: thucdev
Latest version: 1.0.0

# @mylab/shared-module

Shared module for MyLab project

## Installation

```bash
npm install @mylab/shared-module
```

## Usage

```typescript
import { MarketData, MarketDataProps, IMarketDataRepository, MarketDataSchema } from '@mylab/shared-module';

// Example usage
const marketData = new MarketData({
  symbol: 'BTC/USDT',
  interval: '1h',
  open: 50000,
  high: 51000,
  low: 49000,
  close: 50500,
  volume: 1000,
  timestamp: Date.now(),
  source: 'binance'
});
```

## Development

1. Clone the repository
2. Install dependencies:
   ```bash
   npm install
   ```
3. Build the package:
   ```bash
   npm run build
   ```
4. Pack the module:
   ```bash
   npm pack
   ```

## License

UNLICENSED
npm package: @radatek/mqtt
Description: MQTT Broker and Client
Author: Darius Kisonas
Latest version: 1.2.7

## MQTT Broker / Client

Lightweight MQTT-Broker and MQTT-Client

supported MQTT features:
  - MQTT 3.1.1, 5.0
  - connect: username, password, will, clean, keepalive, sessionExpiryInterval
  - publish: qos=0-2, retain
  - subscribe: qos=0-2, rh (Retain Handling), nl (No Local), rap (Retain as Published)
  - policies: permissions, topic prefix, init subscriptions, init publications

### Usage example for MQTT broker:

```ts
const broker = new Broker({
  listen: 1883,
  policy: {
    usr: {
      prefix: 'devices/$clientId',
      permissions: {
        'test': { publish: false, subscribe: false }
      }
    }
  },
  users: {
    usr: { policy: 'usr', password: 'psw' }
  }
})
broker.on('publish', msg => console.log(`${msg.topic}: ${msg.payload}`))

// Custom broker client
class ClockProvider extends BrokerClient {
  id: 'clock-provider'
  intern: true
  constructor(broker: Broker) {
    super()
    broker.addClient(this)
    broker.subscribe('clock/change', this, (msg) => {
      console.log('requested clock change')
      return false // drop message
    })
    setInterval(() => broker.publish({
      topic: 'clock/time',
      payload: new Date().toJSON().slice(0,19).replace('T',' ')
    }, this), 1000)
  }
}
new ClockProvider(broker)
```

### Usage example for MQTT connection client:

```ts
const conn = new MqttConnection({
  url: 'mqtts://example.com:8883'
  clientId: 'mqtt-client',
  username: 'mqtt-user',
  password: 'secret',
  protocolVersion: 5
})
conn.subscribe('devices/#', 0,
  (msg) => console.log(`${msg.topic}: ${msg.payload}`))
conn.subscribe('messages/#')
conn.on('connect', () => console.log('connected'))
conn.on('publish', (msg) => {})
conn.on('topic:messages/error',
  (msg) => console.error(msg.payload.toString()))
conn.on('disconnect',
  (reason) => console.log(`disconnected: ${reason}`))
conn.on('close', () => console.log('closed'))
conn.connect()
...
conn.publish('message/log', 'Processing...')
```
npm package: @radatek/multiplexer
Description: TCP Multiplexer
Author: Darius Kisonas
Latest version: 0.1.0

## TCP Multiplexer

Create TCP listener multiplexer for http, mqtt, tcp with/withuot tls on single port

`server.listen` supports format 'host:port'

Example:
```js
const server = createServer({
  tls: {
    cert: '<cert>',
    key: '<key>',
    ca: '<cacert>'
  },
  protocols: [
    'http',
    {
      protocol: 'mqtt',
      secure: true
    },
    {
      protocol: 'custom',
      handler: (socket, data) => socket
    }
  ]
 })
server.on('socket:http', (socket) => {})
server.on('socket:mqtt', (socket) => {})
server.on('socket:custom', (socket) => {})
server.listen(3000)
```
npm package: @radchenkobohdan/ui
Description: UI React Components.
Author: One Platform Development Team
Latest version: 0.0.2-beta.55

<!-- markdownlint-disable-next-line -->
<p align="center">
  <a href="https://github.com/oneplatformdev/core-web/tree/test" rel="noopener" target="_blank"><img width="150" height="133" src="https://github.com/oneplatformdev/core-web/blob/test/public/one_platform_demo_logo.png" alt="OnePlatform Dev"></a>
</p>

# @oneplatformdev/ui

## Installation
Install the package in your project directory with:

<!-- #default-branch-switch -->
npm:
```bush
npm install @oneplatformdev/ui lucide-react
```
yarn:
```bush
yarn add @oneplatformdev/ui lucide-react
```

## Documentation (currently unavailable)

## Examples (currently unavailable)

## License
This project is licensed under the terms of the
[MIT license](./LICENSE).

## Usage
```tsx
import '@oneplatformdev/ui/index.css';
import { Button } from '@oneplatformdev/ui';
```
npm package: @radcliffetech/symbolos-core
Description: Core symbolic simulation and execution engine for Symbolos
Author: Jeffrey Radcliffe
Latest version: 0.3.2

# 🧠 Symbolos Core

**Symbolos Core** is a meta-systems substrate, a symbolic simulation and transformation engine. It enables programmable worlds, causal pipelines, and agent-based symbolic reasoning using structured Functors and Pipelines.

This core module provides the universal symbolic substrate for higher-level applications in narrative AI, procedural metaphysics, planning, and beyond.

Based in Category Theory, the Symbolos Core packs a lot into under 500 line of code.

---

## ❓ Why Symbolos Core?

Symbolos Core is designed for researchers, system architects, and AI builders who want a programmable foundation for simulating and transforming symbolic systems. It enables composable, introspectable worlds with structured change over time.

Common use cases include:

- Simulation of agents and symbolic environments
- Symbolic planning, memory, and world forking
- Procedural metaphysics and world generation
- Building blocks for language, art, and cognition tools

---

## 🧠 Core Concepts

- **World** — a symbolic state container with composable tick-based change
- **Object** — the atomic symbolic unit (e.g. Note, Agent, Cell) with type, status, and tick
- **Functor** — a transformation unit that mutates a world in context
- **Pipeline** — a sequence of functor steps run over time
- **Agent** — a symbolic entity that can perceive and alter the world

---

## 🚀 Getting Started

To create and run a symbolic pipeline:

```ts
import { World, runPipeline } from "@radcliffetech/symbolos-core";

const world = World.createWorld();
const steps = [...]; // define your FunctorSteps

const result = await runPipeline({ world, steps });
```

---

## 🧩 License

The **Symbolos Core** engine is licensed under the [MIT License](./LICENSE).

This license applies to the symbolic execution substrate, including:

- Core types
- Functors
- Pipeline execution

---

### 🔐 Dual Licensing Notice

**Domain-specific extensions** of Symbolos — including pipelines, cognitive agents, metaphysical simulation layers, and advanced orchestration — are **not included** in this license.

These components are protected intellectual property and may be:

- Licensed separately for research or commercial use
- Reserved for internal or future public distribution

For access or licensing inquiries, contact **Jeffrey Radcliffe** at [jeffrey.radcliffe@gmail.com](mailto:jeffrey.radcliffe@gmail.com).
npm package: @raddeee/konva
Description: A fork of the original [konvajs/konva](https://github.com/konvajs/konva) that uses [Brooooooklyn/canvas](https://github.com/konvajs/konva) instead of [Automattic/node-canvas](https://github.com/Automattic/node-canvas) to avoid issues when used on vercel.
Author: raysato
Latest version: 1.0.0

# @raddeee/konva
A fork of the original [konvajs/konva](https://github.com/konvajs/konva) that uses [Brooooooklyn/canvas](https://github.com/konvajs/konva) instead of [Automattic/node-canvas](https://github.com/Automattic/node-canvas) to avoid issues when used on vercel.
npm package: @raddiamond/nexauth-core-ui
Description: React UI components for NexAuth
Author: Raddiamond LTD
Latest version: 0.2.2

# NexAuth Core UI

React UI components for NexAuth authentication flows.

## Installation

```bash
npm install @raddiamond/nexauth-core-ui
```

## Usage

```tsx
import { AuthUI } from '@raddiamond/nexauth-core-ui';

function App() {
  return (
    <AuthUI
      clientId="your-client-id"
      tenantId="your-tenant-id"
      apiUrl="https://your-backend.com/api"
      logo="/path/to/logo.png"
      theme="light"
      showRegister={true}
    />
  );
}
```

See the full documentation in `UI_COMPONENTS.md` for more details.
npm package: @raddix/use-click-outside
Description: Lisen clicks outside of a specific element
Author: Moises Machuca Valverde
Latest version: 0.1.2

# useClickOutside

The `useClickOutside` hook is used to detect clicks outside of a specified element. It is useful for detecting clicks outside of a dropdown menu, modal, or any other element that should be closed when the user clicks outside of it.

Please refer to the [documentation](https://raddix.dev/hooks/use-click-outside) for more information.
npm package: @raddix/use-count-down
Description: The useCountdown hook is useful for creating a very simple yet powerful countdown timer for React.
Author: Moises Machuca Valverde
Latest version: 1.1.3

# useCountDown

The `useCountDown` hook is used to count down from a specified number of seconds. It is useful for creating countdown timers.

Please refer to the [documentation](https://raddix.dev/hooks/use-count-down) for more information.
npm package: @raddix/use-counter
Description: A hook that manage a counter value with minimum and maximum limits.
Author: Moises Machuca Valverde
Latest version: 1.1.2

# useCounter

The `useCounter` is a React hook that provides a counter that can be incremented, decremented, reset
and manage between a minimum and maximum value.

Please refer to the [documentation](https://raddix.dev/hooks/use-counter) for more information.
npm package: @raddix/use-debounce
Description: A React hook that provides a debounced value of the provided value.
Author: Moises Machuca Valverde
Latest version: 1.0.1

# useDebounce

The `useDebounce` hook is used to debounce a value. It is useful when you want to delay the execution of a function until a value has not changed for a certain amount of time.

Please refer to the [documentation](https://raddix.dev/hooks/use-debounce) for more information.
npm package: @raddix/use-event-listener
Description: A hook that enables you to add event listeners to a target element or document.
Author: Moises Machuca Valverde
Latest version: 1.0.1

# useEventListener

A hook that enables you to add event listeners to a target element or document.

Please refer to the [documentation](https://raddix.dev/hooks/use-event-listener) for more information.
npm package: @raddix/use-first-render
Description: A hook that returns a boolean that is true only on first render.
Author: Moises Machuca Valverde
Latest version: 1.0.0

# useFirstRender

A hook that returns a boolean that is true only on first render.

Please refer to the [documentation](https://www.raddix.website/hooks/use-first-render) for more information.
npm package: @raddix/use-hover
Description: A hook that detects if given element is hovered.
Author: Moises Machuca Valverde
Latest version: 0.0.0-beta-20250220040601

# useHover

A hook that listens for hover events on an element.

Please refer to the [documentation](https://raddix.dev/hooks/use-hover) for more information.
npm package: @raddix/use-interval
Description: A React hook for setting an interval.
Author: Moises Machuca Valverde
Latest version: 1.1.2

# useInterval

The `useInterval` hook is used to create an interval that executes a function every specified number of milliseconds. It is similar to the `setInterval` function, but it is declarative and can be cancelled.

Please refer to the [documentation](https://raddix.dev/hooks/use-interval) for more information.
npm package: @raddix/use-isomorphic-effect
Description: Alias for useLayoutEffect in browser and useEffect on the server side.
Author: Moises Machuca Valverde
Latest version: 1.0.0

# useIsomorphicEffect

Alias for useLayoutEffect in browser and useEffect on the server side.

Please refer to the [documentation](https://raddix.dev/hooks/use-isomorphic-effect) for more information.
npm package: @raddix/use-media-query
Description: Is a hook that respond to media query changes
Author: Moises Machuca Valverde
Latest version: 0.1.3

# useMediaQuery

The `useMediaQuery` hook is used to match the current viewport against a media query. Use the `matchMedia` API to subscribe to media query changes and return the current match state.

Please refer to the [documentation](https://raddix.dev/hooks/use-media-query) for more information.
npm package: @raddix/use-scroll-position
Description: A hook to listen to the scroll position of the current window or element.
Author: Moises Machuca Valverde
Latest version: 1.1.0

# useScrollPosition

The `useScrollPosition` hook listens for the scroll position of the current window or element.

Please refer to the [documentation](https://raddix.dev/hooks/use-scroll-position) for more information.
npm package: @raddix/use-scroll-spy
Description: Automatically update navigation based on scroll position.
Author: Moises Machuca Valverde
Latest version: 0.1.2

# useScrollSpy

The `useScrollSpy` hook is used to automatically update navigation based on scroll position. Use the `IntersectionObserver` API to subscribe to scroll position changes and return the current active navigation item.

Please refer to the [documentation](https://raddix.dev/hooks/use-scroll-spy) for more information.
npm package: @raddix/use-timeout
Description: A React hook for handling timeouts
Author: Moises Machuca Valverde
Latest version: 1.1.1

# useTimeout

The `useTimeout` hook is used to execute a callback after a specified amount of time. It is similar to the `setTimeout` function, but it is declarative and can be cancelled.

Please refer to the [documentation](https://raddix.dev/hooks/use-timeout) for more information.
npm package: @raddo/easy-fetch
Description: > Human-friendly typed HTTP request library for Node.js or JS Client
Author: Radovan Pelka
Latest version: 1.0.1

> Human-friendly typed HTTP request library for Node.js or JS Client

# Install

```
$ npm install easy-fetch
 or
$ yarn add easy-fetch
```

## Usage

### - No gen. types and no parsing

```js
import fetch from "easy-fetch"

const res = await fetch("https://api.chucknorris.io/jokes/random")

console.log(res) // Normal fetch Response, res: Response | null
```

### - Callback with no gen. types

```js
import fetch from "easy-fetch"

// const res: any | null
const res = await fetch(
  "https://api.chucknorris.io/jokes/random",
  ({ parsedAPIResponse }) => parsedAPIResponse
)
console.log(res) // Parsed response ( body.json() )
```

### - Callback with gen. types

```ts
import fetch from "easy-fetch"

type APIResponse = {
  categories: any[]
  created_at: string
  icon_url: string
  id: string
  updated_at: string
  url: string
  value: string
}

const res = await fetch<string, APIResponse>(
  "https://api.chucknorris.io/jokes/random",
  // parsedAPIResponse: as APIResponse
  ({ parsedAPIResponse }) => parsedAPIResponse.value // ... fetch<string, ... >
)
console.log(res) // res: string | null

// OR

const res = await fetch<APIResponse, APIResponse>(
  "https://api.chucknorris.io/jokes/random",
  // parsedAPIResponse: as APIResponse
  ({ parsedAPIResponse }) => parsedAPIResponse // ... fetch<APIResponse, ... >
)
console.log(res) // res: APIResponse | null
```

## Maintainer

| [![Radovan Pelka (Rado)](https://github.com/RadovanPelka.png?size=100)](https://github.com/RadovanPelka) |
| -------------------------------------------------------------------------------------------------------- |


| [Radovan Pelka](https://github.com/RadovanPelka)
npm package: @raddo/easy-instagram-feed
Description: An easy-to-use and simple Instagram package that allow you to fetch media content without API and access token.
Author: Radovan Pelka
Latest version: 1.0.2

> An easy-to-use and simple Instagram package that allow you to fetch media content without API and access token.

# Install

```
$ npm install @raddo/easy-instagram-feed
 or
$ yarn add @raddo/easy-instagram-feed
```

## Usage

```js
import React from "react";

import getInstagramFeed, {
  InstagramFeedType,
} from "@raddo/easy-instagram-feed";

type InstaType = InstagramFeedType | null;

const Index: React.FC = () => {
  const [instaFeed, setInstaFeed] = React.useState<InstaType>(null);

  React.useEffect(() => {
    getInstagramFeed("natgeotravel").then(feed => setInstaFeed(feed));
  }, []);

  if (!instaFeed) return null;

  return (
    <>
      <h1>National Geographic Travel</h1>
      <span>
        It’s a big world. Explore it through the lens of our photographers.
      </span>
      {instaFeed.map((image, index) => (
        <img
          key={index}
          src={image.src}
          alt={image.alt}
          onClick={() => window.open(image.url, "_blank")}
        />
      ))}
    </>
  );
};
```

![alt text](https://i.ibb.co/0ZVhHfh/natgeotravel.png)

## Maintainer

| [![Radovan Pelka (Rado)](https://github.com/RadovanPelka.png?size=100)](https://github.com/RadovanPelka) |
| -------------------------------------------------------------------------------------------------------- |


| [Radovan Pelka](https://github.com/RadovanPelka)
npm package: @rade993/rade-lib
Description: Made with create-react-library
Author: guberinicrade
Latest version: 1.0.3

# rade-lib

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/rade-lib.svg)](https://www.npmjs.com/package/rade-lib) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save rade-lib
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from 'rade-lib'
import 'rade-lib/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [guberinicrade](https://github.com/guberinicrade)
npm package: @rade993/rade-lib-ts
Description: Made with create-react-library
Author: guberinicrade
Latest version: 1.0.0

# rade-lib-ts

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/rade-lib-ts.svg)](https://www.npmjs.com/package/rade-lib-ts) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save rade-lib-ts
```

## Usage

```tsx
import React, { Component } from 'react'

import MyComponent from 'rade-lib-ts'
import 'rade-lib-ts/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [guberinicrade](https://github.com/guberinicrade)
npm package: @radek-altof/lint-config
Description: Custom ESlint & Stylelint configuration
Author: Radek Altof
Latest version: 1.1.1

# Linting configuration

Custom ESlint & Stylelint configuration.


## ESLint

The rules are defined in [`eslint.json`](eslint.json). Complete list of ESLint rules can be found here: https://eslint.org/docs/rules/


## Stylelint

The rules are defined in [`stylelint.json`](stylelint.json). Complete list of Stylelint rules can be found here: https://stylelint.io/user-guide/rules/


## Installation

```sh
$ npm i @radek-altof/lint-config --save-dev
```


## Configuration

Extend your ESLint and Stylelint config files. Ex.:

```json
{
  "extends": ["./node_modules/@radek-altof/lint-config/eslint.json"]
} 
```


## Grunt

Install grunt dependencies.

```sh
$ npm i grunt-eslint --save-dev
$ npm i grunt-stylelint --save-dev
```

Update `gruntfile.js` in your project.

```javascript
grunt.initConfig({
  eslint: {
    options: {
      configFile: 'eslint.json',
      fix: grunt.option('fix')
    },
    target: ['js/*.js']
  },
  stylelint: {
    options: {
      configFile: 'stylelint.json',
      syntax: 'scss',
      fix: grunt.option('fix')
    },
    src: [ 'css/*.scss' ]
  }
});
```

Lint your code.

```sh
$ grunt eslint 
```

```sh
$ grunt stylelint
```
npm package: @radek-palisa/date-fns-upgrade
Description: A tool for upgrading date-fns versions
Author: Sasha Koss
Latest version: 1.0.2

This fork builds `@date-fns/upgrade` to ES5 instead of ES6. ([date-fns/date-fns-upgrade#6](https://github.com/date-fns/date-fns-upgrade/issues/6))
---

# date-fns upgrade

Support package with helper functions for `date-fns` upgrade from `1.x` to `2.x`

Codemod that will help you apply these helpers automatically located here -
[date-fns-upgrade-codemod](https://github.com/date-fns/date-fns-upgrade-codemod).

## Installation

```bash
npm install @date-fns/upgrade --save
# or with yarn
yarn add @date-fns/upgrade
```

## Usage

### convertTokens

`convertTokens` is a helper function used for 2nd argument of `format` function
to convert date tokens like `YYYY` to new format.
See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg)
for more details.

```diff
+import { convertTokens } from '@date-fns/upgrade/v2'

const formattedDate = format(
  new Date(),
- 'YYYY',
+ convertTokens('YYYY'),
)
```

### legacyParse

`date-fns@2.x` functions don't accept string as arguments any more (see [CHANGELOG](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md#changed)), `legacyParse` is used to simplify that transition, it uses algorithm from `1.x` to do that. See [this post](https://blog.date-fns.org/post/we-cut-date-fns-v2-minimal-build-size-down-to-300-bytes-and-now-its-the-smallest-date-library-18f2nvh2z0yal) for details on "why" this was done.

```diff
+import { legacyParse } from '@date-fns/upgrade/v2'

const formattedDate = format(
- '2014',
+ legacyParse('2014'),
  'YYYY',
)
```

### legacyParseMap

`legacyParseMap` is used same as `legacyParse` but for arguments that accept arrays.

```diff
+import { legacyParseMap } from '@date-fns/upgrade/v2'

var dateToCompare = new Date(2015, 8, 6)
var datesArray = [
  '2014-01-01',
  '2015-01-01'
]
-var result = closestIndexTo(dateToCompare, datesArray)
+var result = closestIndexTo(dateToCompare, legacyParseMap(datesArray))
```

## License

[MIT © Sasha Koss](https://kossnocorp.mit-license.org/)
npm package: @radekrepka/eslint-config-react
Description: ## Intstallation
Author: radekrepka
Latest version: 1.0.0

# My ESLint config for React

## Intstallation

Add package as dev dependency

```bash
npm install --save-dev @radekrepka/eslint-config-react
```

or

```bash
yarn add @radekrepka/eslint-config-react -D
```

and then set up `.eslintrc.json`

```json
{
    "extends": ["@radekrepka/eslint-config-react"]
}
```

or `.eslintrc.js`
```js
module.exports = {
    "extends": ["@radekrepka/eslint-config-react"]
}
```

to extend this package.