open-index/open-npm huggingface dataset:
npm package: @nicksp/prettier-config
Description: Prettier config for @nicksp
Author: Nick Plekhanov
Latest version: 1.1.1

# @nicksp/prettier-config

[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href]

Prettier config I use on all my projects.

## Usage

Install:

```bash
npm i -D @nicksp/prettier-config
```

Add the `prettier` key to your `package.json`:

```bash
{
  "prettier": "@nicksp/prettier-config"
}
```

[Check out the Prettier documentation for more info on sharing configurations](https://prettier.io/docs/sharing-configurations).

## Features

- 2 spaces
- No semicolons
- Single quotes
- Trailing commas
- Overrides for Markdown files

## License

[MIT](LICENSE) License © 2025-PRESENT [Nick Plekhanov](https://plekhanov.me/)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@nicksp/prettier-config.svg
[npm-version-href]: https://npmjs.com/package/@nicksp/prettier-config
[npm-downloads-src]: https://img.shields.io/npm/dm/@nicksp/prettier-config
[npm-downloads-href]: https://www.npmcharts.com/compare/@nicksp/prettier-config?interval=30
npm package: @nicksrandall/compression
Description: Compression middleware
Latest version: 1.0.3

# @nicksrandall/compression
[![Build Status](https://travis-ci.org/nicksrandall/compression.svg?branch=master)](https://travis-ci.org/nicksrandall/compression)
[![codecov](https://codecov.io/gh/nicksrandall/compression/branch/master/graph/badge.svg)](https://codecov.io/gh/nicksrandall/compression)

HTTP Compression library for Node.js (v10+)

Supports Brotli, Gzip, and Deflate

## Example

```js
const http = require('http');
const Compression = require('@nicksrandall/compression');
const compression = Compression({ /* optional zlib settings */ });
const server = http.createServer(compression((req, res) => {
  // your request listener
}));

server.listen(3000);
```
npm package: @nicksrandall/neon-postgres
Description: This is an (experimental) alternate implementation of the [@neondatabase/serverless](https://www.npmjs.com/package/@neondatabase/serverless) package that uses the [postgres](https://www.npmjs.com/package/postgres) api instead of the [pg](https://www.npmjs
Author: Robert Soriano
Latest version: 0.0.1

# Neon "SQL over HTTP" Client

This is an (experimental) alternate implementation of the [@neondatabase/serverless](https://www.npmjs.com/package/@neondatabase/serverless) package that uses the [postgres](https://www.npmjs.com/package/postgres) api instead of the [pg](https://www.npmjs.com/package/pg) api.
At the moment, this only supports the sql-over-http protocol. I may add support for sql-over-websockets in the future.

-   One benefit of this approach is that the library size is very small (only 2.75KB gzip compared to 41.1KB ).

## Getting Started

### Simple Queries

```ts
import { neon } from "@nicksrandall/neon-postgres";

const sql = neon("postgres://user:password@localhost:5432/dbname"); // your connection string

const result = await sql`SELECT * FROM users WHERE id = ${1}`;
```

### Complex Queries

```ts
import { neon } from "@nicksrandall/neon";

const sql = neon("postgres://user:password@localhost:5432/dbname"); // your connection string

const olderThan = x => sql`and age > ${ x }`

const filterAge = true

await sql`
  select
   *
  from users
  where name is not null ${
    filterAge
      ? olderThan(50)
      : sql``
  }
`
// Which results in:
select * from users where name is not null
// Or
select * from users where name is not null and age > 50
```

### Transactions

```ts
import { neon } from "@nicksrandall/neon";

const sql = neon("postgres://user:password@localhost:5432/dbname"); // your connection string

const results = await sql.begin([
  await sql`INSERT INTO users (name, age) VALUES (${ "John" }, ${ 30 })`;
  await sql`INSERT INTO users (name, age) VALUES (${ "Jane" }, ${ 40 })`;
  await sql`INSERT INTO users (name, age) VALUES (${ "Joe" }, ${ 50 })`;
]);
```

> NOTE: interactive transactions are not supported at the moment.

## Notes

-   Due to a limitation of Neon's sql-over-http protocol endpoint, argument types are always passed as string and must be casted in the query.
-   This is a work in progress and is not ready for production use.

## License

MIT
npm package: @nicksrandall/react-color
Description: A Collection of Color Pickers from Sketch, Photoshop, Chrome & more
Author: case
Latest version: 2.19.6

# [React Color](http://casesandberg.github.io/react-color/)

[![Npm Version][npm-version-image]][npm-version-url]
[![Build Status][travis-svg]][travis-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

* **13 Different Pickers** - Sketch, Photoshop, Chrome and many more

* **Make Your Own** - Use the building block components to make your own

## Demo

![Demo](https://media.giphy.com/media/26FfggT53qE304CwE/giphy.gif)

[**Live Demo**](http://casesandberg.github.io/react-color/)

## Installation & Usage

```sh
npm install react-color --save
```

### Include the Component

```js
import React from 'react'
import { SketchPicker } from 'react-color'

class Component extends React.Component {

  render() {
    return <SketchPicker />
  }
}
```
You can import `AlphaPicker` `BlockPicker` `ChromePicker` `CirclePicker` `CompactPicker` `GithubPicker` `HuePicker` `MaterialPicker` `PhotoshopPicker` `SketchPicker` `SliderPicker` `SwatchesPicker` `TwitterPicker` respectively.

> 100% inline styles via [ReactCSS](http://reactcss.com/)

[travis-svg]: https://travis-ci.org/casesandberg/react-color.svg
[travis-url]: https://travis-ci.org/casesandberg/react-color
[license-image]: http://img.shields.io/npm/l/react-color.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/react-color.svg
[downloads-url]: http://npm-stat.com/charts.html?package=react-color
[npm-version-image]: https://img.shields.io/npm/v/react-color.svg
[npm-version-url]: https://www.npmjs.com/package/react-color