open-index/open-npm huggingface dataset:
npm package: @glamboyosa/create-readmes
Description: A CLI that adds template READMEs to tru.ID devx example GitHub projects
Author: Timothy Ogbemudia
Latest version: 1.0.5

# CREATE-READMES

`CREATE-READMES` is a Node.js CLI that adds template READMEs to new projects.

## Motivation

Dev Exp. example repos @ [**tru.ID**](https://tru.id) tend to have a somewhat consistent `README` file so I felt it necessary to automate the boilerplate away

## Tools

- Node.js
- TypeScript

## Installation

To install run:

```bash
npx @glamboyosa/create-readmes
#or
npm i -g @glamboyosa/create-readmes
#or
npm init @glamboyosa/create-readmes
```

## Getting Started

If you want to use the CLI locally, clone this repo via:

```bash
git clone https://github.com/glamboyosa/create-readmes.git
```

Restore dependencies via:

```bash
yarn
# or
npm install
```

Start the project via:

```
cd dist && npm link
```

Finally, run the command:

```bash
create-readmes
```

## Adapting for your organization

It is possible, if you're a DXer or DevRel'er you could very well be in the same position and as such need to create your own CLI tool off of this.

Detailed steps to reproduce for your organization are as follows:

- Fork the repository, clone and restore dependencies.
- Update the root package.json file, specifically `name`, `version` (set to `1.0.0`), `author` & `description`
- Follow the `Getting Started` guide in order to get it up and running.
- Head over to `src/cli.ts`, line 5, the `questions` array and update the `choices` and `default` keys to values that suit your needs.
- Head over to `templates` and update the folder names to reflect the changes in the `choices` field.
- Publish to npm via `npm publish`
npm package: @glamboyosa/react-stopwatch
Description: A small package that exposes a performant stopwatch UI component and hook.
Author: glamboyosa
Latest version: 1.0.3

# @glamboyosa/react-stopwatch

> A small package that exposes a performant stopwatch UI component and hook.

[![NPM](https://img.shields.io/npm/v/@glamboyosa/react-stopwatch.svg)](https://www.npmjs.com/package/@glamboyosa/react-stopwatch) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)


https://user-images.githubusercontent.com/42815369/143623629-839b8519-14d4-4092-9247-ec88c6f81e8c.mov



## Install

```bash
npm install --save @glamboyosa/react-stopwatch

#or

yarn add @glamboyosa/react-stopwatch
```

This package ships with a custom hook - `useStopwatch` and a `Stopwatch` component.

## useStopwatch API

```tsx
const { stop, start, stopwatchProps } = useStopwatch(style)
```

- `style`: An optional React CSS style object and allows you to configure the `<Stopwatch/>` with CSS style properties like `fontSize` etc.

- `start`: A function that's used to start the stopwatch.

- `stop`: A function that's used to stop the stopwatch.

- `stopwatchProps`: A collection of props spread onto the `<Stopwatch/>` component.

## Usage

```tsx
import React from 'react'

import { Stopwatch, useStopwatch } from '@glamboyosa/react-stopwatch'
import '@glamboyosa/react-stopwatch/dist/index.css'

const App = () => {
  const { start, stop, stopwatchProps } = useStopwatch({
    fontSize: '30px',
    justifyContent: 'center',
    alignItems: 'center'
  })
  return (
    <>
      <Stopwatch {...stopwatchProps} />
      <button onClick={start}>Start</button>
      <button onClick={stop}>Stop</button>
    </>
  )
}
```

## License

MIT © [glamboyosa](https://github.com/glamboyosa)
npm package: @glaminstants/logger
Description: This is the logger package for all TypeScript projects in Glaminstants.
Author: Fábio Ferreira
Latest version: 1.5.2

# logger

This is the logger package for all TypeScript projects in Glaminstants.

## Use it

```bash
yarn add @glaminstants/logger
```

### Configuration

In order to configure the HTTP transport layer, there are a few environment variables needed in the context of the consumer app:

| Name            | Description                                |
| --------------- | ------------------------------------------ |
| APP_NAME        | Application name (e.g. `orders-service`)   |
| ENVIRONMENT     | Environment (e.g. `staging`, `production`) |
| DATADOG_API_KEY | Datadog's API key                          |

When using [`createAppLogger`](./src/index.ts#13), the transaction ID (`txId`), transaction type (`txType`) and application name can be passed (`appName`) in order to take the greatest advantage of this package capabilities.

## Setup for local dev

```bash
yarn
```

## Release

To release a new version:

1. It is **imperative** to bump the `version` in [`package.json`](./package.json)
2. Create PR with proposed changes
3. Merge PR and release workflow should take place in `master` branch.

### Pre-release

A pre-release can be issued if the code is pushed to the `alpha` and `beta` channels.
npm package: @glamsquad/dataloader-sequelize
Description: Batching and simplification of Sequelize with facebook/dataloader
Latest version: 2.1.2

# dataloader-sequelize

Batching, caching and simplification of Sequelize with facebook/dataloader

[![Build Status](https://circleci.com/gh/mickhansen/dataloader-sequelize.svg)](https://circleci.com/gh/mickhansen/dataloader-sequelize)
[![Coverage](https://codecov.io/gh/mickhansen/dataloader-sequelize/branch/master/graph/badge.svg)](https://codecov.io/gh/mickhansen/dataloader-sequelize)

# How it works

dataloader-sequelize is designed to provide per-request caching/batching for sequelize lookups, most likely in a graphql environment

# API

## `createContext(sequelize, object options)`
* Should be called after all models and associations are defined
* `sequelize` a sequelize instance
* `options.max=500` the maximum number of simultaneous dataloaders to store in memory. The loaders are stored in an LRU cache

# Usage
```js
import {createContext, EXPECTED_OPTIONS_KEY} from 'dataloader-sequelize';

/* Per request */
const context = createContext(sequelize); // must not be called before all models and associations are defined
await User.findById(2, {[EXPECTED_OPTIONS_KEY]: context});
await User.findById(2, {[EXPECTED_OPTIONS_KEY]: context}); // Cached or batched, depending on timing
```

## Priming

Commonly you might have some sort of custom findAll requests that isn't going through the dataloader. To reuse the results from a call such as this in later findById calls you need to prime the cache:

```js
import {createContext, EXPECTED_OPTIONS_KEY} from 'dataloader-sequelize';
const context = createContext(sequelize);

const results = await User.findAll({where: {/* super complicated */}});
context.prime(results);

await User.findById(2, {[EXPECTED_OPTIONS_KEY]: context}); // Cached, if was in results
```