open-index/open-npm huggingface dataset:
npm package: @randombits/hardhat-deploy
Description: A Hardhat plugin to deploy using Random Bits Smart Contract Deployer
Author: AJ May
Latest version: 1.0.0

# hardhat-deploy

_A Hardhat plugin to deploy using Random Bits Smart Contract Deployer_

[Hardhat](https://hardhat.org) plugin example. 

## What

<_A longer, one paragraph, description of the plugin_>

This plugin will help you with world domination by implementing a simple tic-tac-toe in the terminal.

## Installation

```bash
npm install @randombits/hardhat-deployer
```

Import the plugin in your `hardhat.config.js`:

```js
require("@randombits/hardhat-deployer");
```

Or if you are using TypeScript, in your `hardhat.config.ts`:

```ts
import "@randombits/hardhat-deployer";
```

## Tasks

This plugin adds the _deploy_ task to Hardhat:
```
Usage: hardhat [GLOBAL OPTIONS] deploy contract

POSITIONAL ARGUMENTS:

  contract	Name of the contract to be deployed 

deploy: Deploys the named contract using the Random Bits Smart Contract Deployer
```

## Configuration

<_A description of each extension to the HardhatConfig or to its fields_>

This plugin extends the `HardhatUserConfig`'s `ProjectPathsUserConfig` object with an optional
`newPath` field.

This is an example of how to set it:

```js
module.exports = {
  paths: {
    newPath: "new-path"
  }
};
```

## Usage

<_A description of how to use this plugin. How to use the tasks if there are any, etc._>

There are no additional steps you need to take for this plugin to work.

Install it and access ethers through the Hardhat Runtime Environment anywhere
you need it (tasks, scripts, tests, etc).
npm package: @randombytes/event-emitter
Description: Easy to use strongly-typed event emitter.
Author: Serhii Mamontov
Latest version: 1.0.0

# Event listener

[![Tests](https://github.com/parfeon/event-emitter/actions/workflows/run-tests.yml/badge.svg)](https://github.com/parfeon/event-emitter/actions/workflows/run-tests.yml) [![NPM Version](https://img.shields.io/npm/v/@randombytes/event-emitter.svg?style=flat)](https://www.npmjs.org/package/@randombytes/event-emitter) [![codecov](https://codecov.io/github/parfeon/event-emitter/branch/main/graph/badge.svg?token=frSpSxJL7a)](https://codecov.io/github/parfeon/event-emitter)


Small and easy to use event listener / emitter with strongly-typed functions.

## Install

#### NPM
```sh
npm install @randombytes/event-emitter
```

#### Yarn
```shell
yarn add @randombytes/event-emitter
```

## Import

```typescript
import { EventEmitter } from '@randombytes/event-emitter'
```

## Usage

```typescript
// Prepare events map for emitter.
import {EventEmitter} from "./emitter";

// Events map type which will be used by EventEmitter to assist 
// with functions usage.
type TestEvents = {
  'case-one': (title: string) => void
  'case-two': (title: string, subtitle: string) => void
  'case-three': (title: string, flag: boolean) => void
}

// Create event emitter instance.
const emitter = new EventEmitter<TestEvents>()

// Add listener which will be called for each emitted target events.
const listenerToken = emitter.on('case-two', (title) => {
  // Handle `case-two` event with passed title.
})

// Add listener which will be called only once for emitted 
// target event.
emitter.once('case-three', (title, flags) => {
  // Handle `case-three` event with passed title and flags.
})

// Emit events assisted by IDE for list of expected arguments.
emitter.emit('case-two', 'Event title')
emitter.emit('case-three', 'One time event title', true)

// Unregister listener when it will be required
listenerToken.invalidate()

// or remove all listeners at once.
emitter.removeAllListeners()
```
npm package: @randomcode-seolint/cli
Description: Scan any website for SEO issues from your terminal
Author: Random Code
Latest version: 0.1.2

# @randomcode-seolint/cli

CLI for [SEOLint](https://seolint.dev) — scan any website for SEO issues from your terminal.

## Usage

```bash
SEOLINT_API_KEY=sl_your_key npx @randomcode-seolint/cli scan https://example.com
```

Output as JSON:

```bash
SEOLINT_API_KEY=sl_your_key npx @randomcode-seolint/cli scan https://example.com --json
```

## Get your API key

Sign up at [seolint.dev](https://seolint.dev) and grab your key from the dashboard.

## Pricing

- Pro: $19/month — 50 page scans
- Team: $49/month — 250 page scans

## License

MIT
npm package: @randomencounter/screepsmod-fast-build
Description: Modifies Screeps server constants **construction costs** and **controller progression**, with: - Automatic persistence - Live CLI modification - `constants reload` for applying changes without full restart - Ability to return to **vanilla Screeps defa
Author: Random Encounter / Emmett Drummond
Latest version: 1.0.2

# 🔧 screepsmod-fast-build

Modifies Screeps server constants **construction costs** and **controller progression**, with:
- Automatic persistence
- Live CLI modification
- `constants reload` for applying changes without full restart
- Ability to return to **vanilla Screeps defaults**

---

## 📦 Installation

```bash
npm install screepsmod-custom-constants
```

## Default Modifications

Reduces construction costs and upgrade requirements by a factor of 10

### Examples

#### Construction Costs
`Extensions: (3,000) -> 300`

`Roads: (300) -> 30`

`Observers: (8,000) -> 800`

#### Upgrade requirements

`Controller Level 2->3: (45,000) -> 4,500`

`Controller Level 5->6: (1,215,000) -> 121,500`

`Controller Level 7->8: (10,935,000) -> 1,093,500`

## CLI Commands


#### Get the current value
  
`constants get CONSTRUCTION_COST.spawn`


#### Get all constants
  
`constants get`


#### Change a value
  
`constants set CONSTRUCTION_COST.spawn 2000`

(Values must be valid JSON (e.g. numbers, strings, arrays, objects)


#### Apply modified values immediately (hot reload)
  
`constants reload`

#### Restore original Screeps default Values
`constants reset`
npm package: @randomgoods/load-phraseapp-translations
Description: Download PhraseApp translation files for your app. Default format is i18n-node-2 compliant.
Author: randomgoods
Latest version: 0.3.2

[![tests](https://github.com/randomgoods/load-phraseapp-translations/actions/workflows/tests.yml/badge.svg)](https://github.com/randomgoods/load-phraseapp-translations/actions/workflows/tests.yml)

# load-phraseapp-translations

> Originally forked from [Skookum/load-phraseapp-translations](https://github.com/Skookum/load-phraseapp-translations)

npm module for pulling down translation files from [PhraseApp](http://phraseapp.com/) for a project using the [v2 API](http://docs.phraseapp.com/api/v2/). For use in build scripts.

## Installation

```sh
npm install @randomgoods/load-phraseapp-translations --save
```

## Usage

```js
const loadTranslations = require('@randomgoods/load-phraseapp-translations');

loadTranslations.initialize({
  access_token: 1,
  project_id: 1,
  location: __dirname + '/locales'
});
```

```sh
# Translation for de downloaded successfully.
# Translation for en downloaded successfully.
```

### Arguments

#### Options (required)

 * *access_token*: Required. Your PhraseApp access token.
 * *project_id*: Required. The ID of the project you want to pull down translations for.
 * *location*: Optional, defaults to current directory. If supplied, must be an existing path.
 * *file_format*: Optional, defaults to `node_json`, the format for [i18n-node-2](https://github.com/jeresig/i18n-node-2).
 * *file_extension*: Optional, defaults to `js`.
 * *file_name_key*: Optional, defaults to `code`, but can be configured to use `name` instead.
 * *transform*: Optional function that should be called with each locale's data if additional processing is required before it is saved. Takes a string containing the data from Phrase and should return a string containing the new data. Defaults to a no-op.

#### Callback

Initialize also accepts an optional callback that returns an error and a success response.

```js
const loadTranslations = require('@randomgoods/load-phraseapp-translations');

loadTranslations.initialize({
  access_token: 1,
  project_id: 1,
  location: __dirname + '/locales'
}, function(err, res) {
    if (!err) {
    // Do something
    }
    // Do something else
});
```

## Tests

```sh
npm test
```

## Contributing

See [CONTRIBUTING](https://github.com/randomgoods/load-phraseapp-translations/blob/main/CONTRIBUTING.md)

## Credits

See [CREDITS](https://github.com/randomgoods/load-phraseapp-translations/blob/main/CREDITS)

## License

[MIT](https://github.com/randomgoods/load-phraseapp-translations/blob/main/LICENSE) (c) 2015 Skookum Digital Works, 2022 - 2023 randomgoods and contributors
npm package: @randomgoods/tap-spec
Description: Formatted TAP output like Mocha's spec reporter
Author: randomgoods
Latest version: 5.0.4

# tap-spec

Formatted TAP output like Mocha's spec reporter

> Forked from https://github.com/scottcorgan/tap-spec

![iterm - 2 bash - may 29 2015 at 10 17 am screen shot](https://cloud.githubusercontent.com/assets/974723/7888261/03366236-05ec-11e5-9f94-d9c2707526b7.png)

## Install

```
npm install @randomgoods/tap-spec --save-dev
```

## Usage

### Streaming

```js
var test = require('tape');
var tapSpec = require('@randomgoods/tap-spec');

test.createStream()
  .pipe(tapSpec())
  .pipe(process.stdout);
```

### CLI

**package.json**

```json
{
  "name": "module-name",
  "scripts": {
    "test": "node ./test/tap-test.js | tap-spec"
  }
}
```

Then run with `npm test`

**Terminal**

```
tape test/index.js | node_modules/.bin/tap-spec
```

**Testling**

```
npm install testling -g
testling test/index.js | node_modules/.bin/tap-spec
```

## License

[MIT](https://github.com/randomgoods/tap-spec/blob/master/LICENSE) (c) 2014 Scott Corgan, 2021 randomgoods and contributors
npm package: @randomwalklabs/tweet-json-to-html
Description: tweet-json-to-html converts Twitter API v2 tweet json object into html format.
Author: sijongyeoil
Latest version: 1.0.0

# tweet-json-to-html

tweet-json-to-html converts Twitter API v2 tweet json object into html format.

## Install

```
npm i tweet-json-to-html
```

## Usage

Simply import the package and use it as a function:

```javascript
const tweetJsonToHtml = require('tweet-json-to-html')
const html = await tweetJsonToHtml(tweetJson, 'dim')
```
Here `tweetJson` should contain all possible information. Below is a sample Tweet lookup API URL requested to contain all possible information.

```url
https://api.twitter.com/2/tweets/1295916604127981568?expansions=attachments.poll_ids,attachments.media_keys,author_id,entities.mentions.username,geo.place_id,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id&poll.fields=duration_minutes,end_datetime,id,options,voting_status&media.fields=duration_ms,height,media_key,preview_image_url,type,url,width,public_metrics&place.fields=contained_within,country,country_code,full_name,geo,id,name,place_type&tweet.fields=attachments,author_id,context_annotations,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,public_metrics,possibly_sensitive,referenced_tweets,source,text,withheld&user.fields=created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,withheld
```

### tweetJsonToHtml(tweetJson, [background])

Avaliable properties for `background`:

- **default** (Default)
- **dim**
- **lights-out**

## License

MIT License

Copyright (c) 2020-2022 Elenchus(sijongyeoil)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
npm package: @randomwalklabs/tweet-json-to-html-custom
Description: tweet-json-to-html converts Twitter API v2 tweet json object into html format.
Author: sijongyeoil
Latest version: 1.0.0

# tweet-json-to-html

tweet-json-to-html converts Twitter API v2 tweet json object into html format.

## Install

```
npm i tweet-json-to-html
```

## Usage

Simply import the package and use it as a function:

```javascript
const tweetJsonToHtml = require('tweet-json-to-html')
const html = await tweetJsonToHtml(tweetJson, 'dim')
```
Here `tweetJson` should contain all possible information. Below is a sample Tweet lookup API URL requested to contain all possible information.

```url
https://api.twitter.com/2/tweets/1295916604127981568?expansions=attachments.poll_ids,attachments.media_keys,author_id,entities.mentions.username,geo.place_id,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id&poll.fields=duration_minutes,end_datetime,id,options,voting_status&media.fields=duration_ms,height,media_key,preview_image_url,type,url,width,public_metrics&place.fields=contained_within,country,country_code,full_name,geo,id,name,place_type&tweet.fields=attachments,author_id,context_annotations,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,public_metrics,possibly_sensitive,referenced_tweets,source,text,withheld&user.fields=created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,withheld
```

### tweetJsonToHtml(tweetJson, [background])

Avaliable properties for `background`:

- **default** (Default)
- **dim**
- **lights-out**

## License

MIT License

Copyright (c) 2020-2023 Elenchus(sijongyeoil)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.