open-index/open-npm huggingface dataset:
npm package: @johnrom/remark-code-import
Description: 📝 Populate code blocks from files
Author: Kai Hao
Latest version: 0.4.1-beta1

# `remark-code-import`

📝 Populate code blocks from files

[![npm version](https://badge.fury.io/js/remark-code-import.svg)](https://badge.fury.io/js/remark-code-import)

The plain remark version of [`gatsby-remark-import-code`](https://github.com/pomber/gatsby-remark-import-code).

## Installation

```sh
# npm
npm install -D remark-code-import

# yarn
yarn add -D remark-code-import
```

## Setup

See [**Using plugins**](https://github.com/remarkjs/remark/blob/master/doc/plugins.md#using-plugins) in the official documentation.

It can also be used in various of libraries using `remark`: [MDX](https://mdxjs.com/advanced/plugins#using-remark-and-rehype-plugins), [Gatsby `gatsby-plugin-mdx`](https://www.gatsbyjs.org/docs/mdx/plugins/#remark-plugins), [Storybook docs](https://github.com/storybookjs/storybook/tree/master/addons/docs#manual-configuration), etc.

## Use as Gatsby remark plugin

Just use the `/gatsby` endpoint. It's possible through [`to-gatsby-remark-plugin`](https://github.com/kevin940726/to-gatsby-remark-plugin).

```js
{
  resolve: 'remark-code-import/gatsby',
  options: {}
}
```

## Usage

Transform:

````md
```js file=./say-hi.js
```
````

into:

````md
```js file=./say-hi.js
console.log('Hello remark-code-import!');
```
````

The file path is relative to the markdown file path.

You may also specify specific lines or ranges:

````md
```js file=./say-hi.js#L3
```

```js file=./say-hi.js#L3-L6
```

```js file=./say-hi.js#L3-
```
````



## Options

- `async`: By default, this plugin uses `readFileSync` to read the contents of the files. Set this to `true` if you want to use `readFile` for non-blocking IO.

## Testing

After installing dependencies with `npm install`, the tests can be run with: `npm test`

## License

Kai Hao
[MIT](LICENSE)
npm package: @johnsand/inews
Description: Connects to an Avid iNews server over FTP
Author: John Murphy-Teixidor
Latest version: 1.3.3

# node-inews #
Connects to an Avid iNews server and allows operations over FTP

## Examples ##

	var Inews = require('inews');

### Connect ###
Will not connect unless a function that requires the connection (eg: cwd, list) is called

	var conn = Inews({
		'host': "inews-hostname",
		'user': "inews-username",
		'password': "inews-password"
	});
	
Connect with backup servers

	var conn = Inews({
		'hosts': ["inews-hostname-a", "inews-hostname-b", "inews-hostname-c"],
		'user': "inews-username",
		'password': "inews-password"
	});

### List Files In Directory/Queue ###

	conn.list("YOUR.QUEUE.HERE", function(error, dirList) {
		if(!error) {
			dirList.forEach(function(story) {
				console.log(story.file);
			}
		}
	});
	
### Retrieve all stories in a queue ###

	var inewsQueue = "YOUR.QUEUE.HERE";
	conn.list(inewsQueue, function(error, dirList) {
		if(!error) {
			dirList.forEach(function(storyFile) {
				conn.story(inewsQueue, storyFile.file, function(error, storyDetails) {
    				console.log(error, storyDetails);
    			});
    		}
		}
	});
	
### Retrieve NSML all stories in a queue ###

	var inewsQueue = "YOUR.QUEUE.HERE";
	conn.list(inewsQueue, function(error, dirList) {
		if(!error) {
			dirList.forEach(function(storyFile) {
				conn.storyNsml(inewsQueue, storyFile.file, function(error, storyNsml) {
    				console.log(error, storyNsml);
    			});
    		}
		}
	});
npm package: @johnshopkins/brand-colors
Description: Print out luminance grades: ```bash composer run print-grades ```
Author: Jen Wachter
Latest version: 1.2.1

# Brand Colors

## Evaluative scripts

Print out luminance grades:
```bash
composer run print-grades
```

Evaluate original brand colors against luminance grades:
```bash
composer run eval-color-grades
```


## Generative scripts 

Generate web colors, shifted to fit within our luminance grades:
```bash
composer run generate-web-colors-json
```

Generate expanded palettes based on JHU brand colors:
```bash
composer run generate-palettes-json
```