open-index/open-npm huggingface dataset:
npm package: @official_offerland/component-library
Description: Component library for offerland organization
Author: official_offerland
Latest version: 0.1.1

# Offerland Design System

This project is aimed to provide united design styles and components for the different products of Offerland.

## Step

`yarn storybook` to run storybook


https://github.com/skovy/typed-scss-modules
Use `yarn tsm src` to solve scss cannot be compiled in typescript
npm package: @officient/regenerator
Description: Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5)
Author: Ben Newman
Latest version: 0.14.7

regenerator [![Build Status](https://travis-ci.org/facebook/regenerator.svg?branch=master)](https://travis-ci.org/facebook/regenerator)
===

This package implements a fully-functional source transformation that
takes the syntax for generators/`yield` from [ECMAScript 2015 or ES2015](http://www.ecma-international.org/ecma-262/6.0/) and [Asynchronous Iteration](https://github.com/tc39/proposal-async-iteration) proposal and
spits out efficient JS-of-today (ES5) that behaves the same way.

A small runtime library (less than 1KB compressed) is required to provide the
`wrapGenerator` function. You can install it either as a CommonJS module
or as a standalone .js file, whichever you prefer.

Installation
---

From npm:
```sh
npm install -g regenerator
```

From GitHub:
```sh
cd path/to/node_modules
git clone git://github.com/facebook/regenerator.git
cd regenerator
npm install .
npm test
```

Usage
---

You have several options for using this module.

Simplest usage:
```sh
regenerator es6.js > es5.js # Just the transform.
regenerator --include-runtime es6.js > es5.js # Add the runtime too.
regenerator src lib # Transform every .js file in src and output to lib.
```

Programmatic usage:
```js
var es5Source = require("regenerator").compile(es6Source).code;
var es5SourceWithRuntime = require("regenerator").compile(es6Source, {
  includeRuntime: true
}).code;
```

AST transformation:
```js
var recast = require("recast");
var ast = recast.parse(es6Source);
ast = require("regenerator").transform(ast);
var es5Source = recast.print(ast);
```

How can you get involved?
---

The easiest way to get involved is to look for buggy examples using [the
sandbox](http://facebook.github.io/regenerator/), and when you find
something strange just click the "report a bug" link (the new issue form
will be populated automatically with the problematic code).

Alternatively, you can
[fork](https://github.com/facebook/regenerator/fork) the repository,
create some failing tests cases in [test/tests.es6.js](test/tests.es6.js),
and send pull requests for me to fix.

If you're feeling especially brave, you are more than welcome to dive into
the transformer code and fix the bug(s) yourself, but I must warn you that
the code could really benefit from [better implementation
comments](https://github.com/facebook/regenerator/issues/7).
npm package: @officient/regenerator-runtime
Description: Runtime for Regenerator-compiled generator and async functions.
Author: Ben Newman
Latest version: 0.13.8

# regenerator-runtime

Standalone runtime for
[Regenerator](https://github.com/facebook/regenerator)-compiled generator
and `async` functions.

To import the runtime as a module (recommended), either of the following
import styles will work:
```js
// CommonJS
const regeneratorRuntime = require("regenerator-runtime");

// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";
```

To ensure that `regeneratorRuntime` is defined globally, either of the
following styles will work:
```js
// CommonJS
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime.js";
```

To get the absolute file system path of `runtime.js`, evaluate the
following expression:
```js
require("regenerator-runtime/path").path
```
npm package: @officr/logger
Description: lightweight logger
Author: stasson
Latest version: 3.0.2

# @officr/logger

> Lightweight zeroconfig pretty logger.

## Install

```bash
npm install --save-dev @officr/logger
```

## Logging

```typescript
import logger from '@officr/logger'

logger.debug('debug message only visible in DEBUG mode')
logger.log('log messages')
logger.info('info logging')
logger.warning('warning logging')
logger.errors('error logging')
logger.success('success logging')
```

### with labels

```typescript
const feature = logger.label('feature')

feature.debug('debug message')
feature.log('log messages')
feature.info('info logging')
feature.warning('warning logging')
feature.errors('error logging')
feature.success('success logging')
```

## Config

```typescript
/** apply config flags */
logger.config(flags: {
  /** whether to log to the console or not
   * @default true
   */
  console?: boolean

  /** whether to set a non zero exit code when errors
   * @default false
   */
  computeExitCode?: boolean

  /** whether to log the number of errors at exit
   * @default false
   */
  logStatsOnExit?: boolean

  /** whether to add timestamp
   * @default false
   */
  timestamp?: boolean
})
```

## Streaming

### record to a file

```typescript
const stream = logger.record('path/to/log-file.log')
```

### record to a json file

```typescript
const stream = logger.record('path/to/log-file.log', json)
```

### pipe to a stream

```typescript
const stream = logger.pipe(...)
```

## Stats

```typescript
const { total, errors, warnings, success } = logger.stats()
```