open-index/open-npm huggingface dataset:
npm package: @postlight/lorem-ipsum-generator-generator
Description: Generate a lorem ipsum generator site using Mercury Parser
Author: Postlight
Latest version: 1.1.3

# @postlight/lorem-ipsum-generator-generator
Generate a lorem ipsum generator site using [Mercury Parser](https://mercury.postlight.com)

## Before you install

1. Install [node](https://nodejs.org).
2. [Create a Netlify account](https://app.netlify.com/signup).
3. Gather one or more URLs to use as the corpus for your lorem ipsum generator.

## Installation

```shell
$ npx @postlight/lorem-ipsum-generator-generator
```

and follow the prompts.

or

```shell
$ npx @postlight/lorem-ipsum-generator-generator \
  http://example.com \
  https://postlight.com/trackchanges/mercury-goes-open-source \
  --project-name "My Ipsum" \
  --logo https://placekitten.com/300/300 \
  --background https://placekitten.com/800/600 \
  --accent "#facade"
```

The generator will create a folder for your project, install the necessary node
packages, and kick off `netlify-cli` to deploy it to the web. The first time you
use the generator, you'll be asked to authorize it to connect to your Netlify
account.

If you're not connecting it to an existing Netlify site, choose `Create &
configure a new site`, and feel free to accept the defaults for the rest of the
propmpts (everything can be changed later in Netlify's site settings pages).

Once the deploy succeeds, your new lorem ipsum generator will open in your
default browser. Enjoy!

## Hit the endpoint directly

Your generator is powered by a function that accepts GET requests at
`https://[your site id].netlify.com/.netlify/functions/generate`.

It accepts URL parameters for the number of paragraphs:
`https://fyreipsum.com/.netlify/functions/generate?paragraphs=3`

...or the number of words to return in a single paragraph:
`https://fyreipsum.com/.netlify/functions/generate?words=25`

and returns a JSON object with an array of paragraphs under the key `paragraphs`.

## Customization

Feel free to customize your site and re-deploy it at will. All the styles and
behavior live in your site directory's `index.html`, including some social meta
tags you can update if you wire up your site to a domain name.

The Netlify function that generates the lorem ipsum text is created in the
`functions/generate` folder. It's small and easy to change, if you want
different defaults!

To re-deploy after your customizations, run `npm run deploy`.

## License

Licensed under either of the below, at your preference:

- Apache License, Version 2.0
  ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license
  ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

## Contributing

For details on how to contribute, see [CONTRIBUTING.md](./CONTRIBUTING.md)

Unless it is explicitly stated otherwise, any contribution intentionally
submitted for inclusion in the work, as defined in the Apache-2.0 license,
shall be dual licensed as above without any additional terms or conditions.

---
🔬 A Labs project from your friends at [Postlight](https://postlight.com/labs)
npm package: @postlight/node-typescript-starter-kit
Description: NodeJS - TypeScript Starter Kit
Author: Postlight
Latest version: 1.2.3

![Node.js + TypeScript Starter Kit](https://13c27d41k2ud2vkddp226w55-wpengine.netdna-ssl.com/wp-content/uploads/2019/05/node-js-2.png)

# Node.js + TypeScript Starter Kit

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![CircleCI](https://circleci.com/gh/postlight/nodejs-typescript-kit.svg?style=svg)](https://circleci.com/gh/postlight/nodejs-typescript-kit)

[Postlight](https://postlight.com)'s Node.js + TypeScript Starter Kit is a zero-config codebase that lets you start writing code immediately. It includes:

* TypeScript (or write just regular ol' JavaScript)
* Jest for testing
* Prettier for formatting
* ESLint for linting
* CircleCI configs
* Pre-commit hooks
* Basic config and build scripts

Read all about it [this handy introduction](https://postlight.com/trackchanges/introducing-postlights-node-js-typescript-starter-kit).

## Creating a project

Create the project by using **npx**:

_[npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher_

```bash
npx @postlight/node-typescript-starter-kit my-awesome-project

cd my-awesome-project
```

Install dependencies using either **yarn** or **npm**

```bash
yarn install

#  or

npm install
```

And you can directly start coding!

![starterkit](https://user-images.githubusercontent.com/32297675/53011741-c68e9200-3449-11e9-8746-01bcc0fff247.gif)

## Starter Kit Documentation

### Development

For development, we'll assume you're using `yarn`, but if you're using `npm` instead, adjust the commands appropriately (namely, replace `yarn` with `npm run`).

For running an individual `.ts` file:

```bash
yarn ts-node <file.ts>
```

For development mode:

```bash
yarn nodemon
```

[nodemon](https://www.npmjs.com/package/nodemon) will automatically restart the application when file changes are detected. This is useful if the tool you're building executes code when run.

### Linting

```bash
yarn lint
```

VSCode users should add this to their workspace settings to integrate JS/TS linting in general:

```json
  "eslint.validate": [
    "javascript",
    "typescript",
  ]
```

### Running tests

Run all tests:

```bash
yarn test
```

Run and watch all tests:

```bash
yarn test:watch
```

### Building the App

```bash
yarn build
```

## Building your app with CircleCI

Having already pushed your project to your favorite git repository hosting service, you're one click away from integrating your app with CircleCI.

- Login to [CircleCI](https://circleci.com/)
- On the left side menu, press `Add Projects`.
- Pinpoint your project and press `Set Up Project`.
- Choose `Linux` as the OS and `Node` as the language.
- Press `Start Building`, and you're all set! :tada:

CircleCI ensures that every commit is checked for errors before merging.
This basic setup runs `yarn lint`, `yarn test`, and `yarn build`.


---

🔬 A Labs project from your friends at [Postlight](https://postlight.com). Happy coding!