open-index/open-npm huggingface dataset:
npm package: @stackspot/cdk-component-handler-core
Description: A CDK construct for Typescript that can be used to create the AWS infrastructure
Author: StackSpot
Latest version: 0.3.1

# Stackspot CDK Component!

A CDK construct for Typescript that can be used to create the AWS infrastructure

## Prerequisites

- NodeJS 14.x - <https://nodejs.org>
- AWS account properly configured - <https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html>
- AWS CDK CLI - <https://docs.aws.amazon.com/cdk/latest/guide/cli.html>

## Optional (Recommended) development tools

- Visual Studio Code (IDE) - <https://code.visualstudio.com/>
- Prettier VSCode extension (Code formatter) - <https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode>
- Jest Runner VSCode extension (Runs jest tests from IDE) - <https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner>
npm package: @stackstorm/browserify-postcss
Description: transform contents using postcss
Author: zoubin
Latest version: 0.3.4-patch.5

# browserify-postcss
[![version](https://img.shields.io/npm/v/browserify-postcss.svg)](https://www.npmjs.org/package/browserify-postcss)
[![status](https://travis-ci.org/zoubin/browserify-postcss.svg)](https://travis-ci.org/zoubin/browserify-postcss)
[![dependencies](https://david-dm.org/zoubin/browserify-postcss.svg)](https://david-dm.org/zoubin/browserify-postcss)
[![devDependencies](https://david-dm.org/zoubin/browserify-postcss/dev-status.svg)](https://david-dm.org/zoubin/browserify-postcss#info=devDependencies)

A [browserify] transform to work with [postcss].

## Example

The build script:

```javascript
var browserify = require('browserify')
var fs = require('fs')

var b = browserify(__dirname + '/src/entry.js')
b.transform('browserify-postcss', {
  // a list of postcss plugins
  plugin: [
    'postcss-import',
    'postcss-advanced-variables',
    ['postcss-custom-url', [
      ['inline', { maxSize: 10 }],
      ['copy', {
        assetOutFolder: __dirname + '/static/assets',
        baseUrl: 'assets',
        name: '[name].[hash]',
      }],
    ]],
  ],
  // basedir where to search plugins
  basedir: __dirname + '/src',
  // insert a style element to apply the styles
  inject: true,
})
b.bundle().pipe(
  fs.createWriteStream(to)
)

```

entry.js:

```js
require('./entry.css')

console.log('styles from entry.css are applied')

```

## Options

### plugin
Specify a list of [postcss] plugins to apply.

Type: `String`, `Array`
Default: `null`

### basedir
Specify where to look for plugins.

### postCssOptions
Specify the [options](https://github.com/postcss/postcss/blob/master/docs/api.md#processorprocesscss-opts)
for the [postcss] processor.

The `from` and `to` fields will be set to the css file path by default.

The `to` option is used to calculated `url()` in the final styles.
However, if your [postcss] plugin does not need it,
don't bother to specify.

### inject
Specify how to use the styles:

If `true`, styles are applied immediately.
If `false`, `require('style.css')` will return the string representation of the styles.

### extensions
A list of file extensions to identify styles.

Type: `Array`

Default: `['.css', '.scss', '.sass']`

## Watch
Imported files will **NOT** be watched when used with [watchify].

## Related

* [reduce-css]: bundle css files without `require`ing them in js.


[browserify]: https://github.com/substack/node-browserify
[watchify]: https://github.com/substack/watchify
[postcss]: https://github.com/postcss/postcss
[reduce-css]: https://github.com/reducejs/reduce-css
npm package: @stackstorm/koa-logger
Description: Logging middleware for koa
Latest version: 2.0.1


# koa-logger

[![npm version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]

 Development style logger middleware for [koa](https://github.com/koajs/koa).

___Notice: `koa-logger@2` supports `koa@2`; if you want to use this module with `koa@1`, please use `koa-logger@1`.___

```
<-- GET /
--> GET / 200 835ms 746b
<-- GET /
--> GET / 200 960ms 1.9kb
<-- GET /users
--> GET /users 200 357ms 922b
<-- GET /users?page=2
--> GET /users?page=2 200 466ms 4.66kb
```

## Installation

```js
$ npm install koa-logger
```

## Example

```js
const logger = require('koa-logger')
const Koa = require('koa')

const app = new Koa()
app.use(logger())
```

## Notes

  Recommended that you `.use()` this middleware near the top
  to "wrap" all subsequent middleware.

## License

  MIT

[npm-image]: https://img.shields.io/npm/v/koa-logger.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/koa-logger
[travis-image]: https://img.shields.io/travis/koajs/logger.svg?style=flat-square
[travis-url]: https://travis-ci.org/koajs/logger