open-index/open-npm huggingface dataset:
npm package: @joshcaplin/draggable1
Description: @joshcaplin-draggable1 React component
Latest version: 1.6.0

# @joshcaplin-draggable1

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]
<img src="https://img.shields.io/static/v1?label=testing&message=123&color=green&logo=react?" > 

Describe @joshcaplin-draggable1 here.

[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo

[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo
npm package: @joshcena/vanilla-jsx
Description: Writing JSX in vanilla JavaScript-no transforms.
Latest version: 0.0.2

# Vanilla JSX

This project frees you from any JSX transformer in order to enjoy JSX expressions!

It currently supports only the tree-like structure of JSX, but not any of the more complex JavaScript expressions.

**Do not even attempt to use this anywhere.**

## How to use

This package is published to npm and unpkg, but because it doesn't use any module formats (yet), currently the only way to use it is through unpkg, as follows:

```html
<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta charset="utf-8">
</head>
<body>
  <div id="root"></div>
  <script src="https://unpkg.com/@joshcena/vanilla-jsx@0.0.1/jsx.js"></script>
  <script>
    with (universalNS) {
      const element = jsx
        [div, className="form"]
          [label, htmlFor="age"]`Age: `[$label]
          [input, id="age", type="range", max=10, value=4, $]
        [$div];
      const root = document.getElementById("root");
      element.toDOM().forEach((elem) => root.appendChild(elem));
    }
  </script>
</body>
</html>
```

You can view the demo at https://jc-verse.github.io/vanilla-jsx.

## How does it work?

I have written some introduction here: https://zhuanlan.zhihu.com/p/498356150

## Acknowledgements

This project has benefitted largely from a Discord discussion. The idea was initially brought up by someone else, but I eventually completed the DOM manipulation part and did significant refactors to the initial PoC code.
npm package: @joshcross/sass-inline-image
Description: inline images as base64
Author: Joseph Clay
Latest version: 0.0.4

# sass-inline-image

`npm i sass-inline-image`

Use the `inline-image` function from Compass in [gulp-sass](https://www.npmjs.com/package/gulp-sass) ([node-sass](https://www.npmjs.com/package/node-sass)).

## usage

```js
// in gulpfile
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassInlineImage = require('sass-inline-image');
gulp.src('style.scss')
    .pipe(
        sass({
            functions: sassInlineImage({ /* options */ })
        })
    )
    .pipe(gulp.dest('./css'));
```

```scss
body {
    background: url(inline-image('path/to/image.png'));
}
```

## Credit

Credit to [Sergii Iavorskyi](https://coderwall.com/p/fhgu_q/inlining-images-with-gulp-sass) at [coderwall](https://coderwall.com/).


## License

The MIT License (MIT)

Copyright (c) 2014 Joseph Clay

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
npm package: @joshdavenport/gatsby-plugin-fresnel
Description: [![npm version](https://badge.fury.io/js/gatsby-plugin-fresnel.svg)](https://badge.fury.io/js/gatsby-plugin-fresnel)
Author: Chris Santamaria
Latest version: 1.1.0

# gatsby-plugin-fresnel

[![npm version](https://badge.fury.io/js/gatsby-plugin-fresnel.svg)](https://badge.fury.io/js/gatsby-plugin-fresnel)

Provides easy drop-in support for [@artsy/fresnel](https://github.com/artsy/fresnel) in Gatsby.

## Install

```shell
yarn add gatsby-plugin-fresnel
```

## How to use

Add the plugin to your `gatsby-config.js` and configure (see [fresnel's config API](https://github.com/artsy/fresnel#api)):

```js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-fresnel`,
      options: {
        breakpoints: {
          sm: 0,
          md: 768,
          lg: 1024,
          xl: 1192,
        },
      },
    },
  ],
};
```

This package exposes a pre-configured `Media` component for creating media queries:

```jsx
import React from 'react';
import { Media } from 'gatsby-plugin-fresnel';

const Home = () => (
  <>
    <Media at="sm">
      <MobileApp />
    </Media>
    <Media at="md">
      <TabletApp />
    </Media>
    <Media greaterThanOrEqual="lg">
      <DesktopApp />
    </Media>
  </>
);
```

See the [@artsy/fresnel README](https://github.com/artsy/fresnel) for full documentation.
npm package: @joshdavenport/tailwindcss-filter-order
Description: A plugin to customise the order Tailwind applies CSS filters.
Author: Josh Davenport-Smith
Latest version: 0.2.0

# Tailwind CSS Filter Order

A plugin to order your CSS filters applied by Tailwind CSS. Order of filters passed to the `filter` property 
can drastically change the final result. Without use of this plugin filters are applied in the same order every
time because Tailwind has a hardcoded order.

## Installation

```
# npm
npm install --save-dev @savvywombat/tailwindcss-grid-areas

# yarn
yarn add --dev @savvywombat/tailwindcss-grid-areas

# pnpm
pnpm install --save-dev @savvywombat/tailwindcss-grid-areas
```

## Usage

```js
// tailwindcss.config.js
module.exports = {
  theme: {
    extend: {
      filterOrder: {
        'my-order': 'sepia invert brightness',
        'another-order': 'brightness sepia hue-rotate invert'
      },
    },
  },
  plugins: [
    require('@joshdavenport/tailwindcss-filter-order')
  ]
}
```

This generates the following new Tailwind utilities, for use in combination with the OOTB filter utilities
([brightness](https://tailwindcss.com/docs/brightness), [contrast](https://tailwindcss.com/docs/contrast), [sepia](https://tailwindcss.com/docs/sepia), etc):

```
filter-order-my-order
filter-order-another-order
```

Alternatively, you can use an arbitrary value passed to the utility:

```
filter-order-[sepia_invert_brightness]
```