open-index/open-npm huggingface dataset:
npm package: @shardlabs/starknet-hardhat-plugin
Description: Plugin for using Starknet tools within Hardhat projects
Author: SpaceShard
Latest version: 0.8.0-alpha.5

<!-- logo / title -->
<p align="center" style="margin-bottom: 0px !important">
  <img width="100" src="https://user-images.githubusercontent.com/2848732/181497954-297848fb-4e9d-4bf0-91bd-c1c5da8ae10d.svg" alt="Hardhat Plugin" align="center">
</p>
<h1 align="center" style="margin-top: 0px !important">Starknet Hardhat Plugin</h1>

[![npm package](https://img.shields.io/npm/v/@shardlabs/starknet-hardhat-plugin?color=blue)](https://www.npmjs.com/package/@shardlabs/starknet-hardhat-plugin)

If you've used Hardhat 👷‍♀️👷‍♂️ and want to develop for Starknet <img src="https://starkware.co/wp-content/uploads/2021/07/Group-177.svg" alt="starknet" width="18"/>, this plugin might come in hand. If you've never set up a Hardhat project, check out [this guide](https://hardhat.org/tutorial/creating-a-new-hardhat-project.html).

## 🌐 Docs

On the following links you can find the documentation of:

-   [the latest official release](https://0xspaceshard.github.io/starknet-hardhat-plugin/)
-   [the latest master commit (not officially released)](https://github.com/0xSpaceShard/starknet-hardhat-plugin/tree/master/www/docs/intro.md)

## ✏️ Contributing

We ❤️ and encourage all contributions!

[Click here](https://0xspaceshard.github.io/starknet-hardhat-plugin/docs/dev) for the development guide.

Special thanks 🙌 to all the [contributors](https://github.com/0xSpaceShard/starknet-hardhat-plugin/graphs/contributors)!
npm package: @shards/events
Description: an event emitter library for javascript
Author: Parasrah
Latest version: 1.0.3

# Events

`Events` is a simple library to create an event emitter

## installation


for npm:

```
npm i @shards/events
```

for yarn:

```
yarn add @shards/events
```

to require:

```
const Maybe = require('@shards/events').default
```

to import (es6 modules):

```
import Maybe from '@shards/events'
```

for node:

```
import Maybe from '@shards/events/dist/events.node.js'
```

## usage

```
const events = Events()

events.addListener('success', (msg) => {
  console.log(msg)
})

events.emit('success', 'my payload') // "my payload"
```
npm package: @shards/maybe
Description: A "Maybe" runtime module for javascript
Author: Parasrah
Latest version: 1.2.0

# Maybe

`Maybe` is a simple module to help make your javascript more declarative.

## installation


for npm:

```
npm i @shards/maybe
```

for yarn:

```
yarn add @shards/maybe
```

to require:

```
const Maybe = require('@shards/maybe').default
```

to import (es6 modules):

```
import Maybe from '@shards/maybe'
```

for node:

```
import Maybe from '@shards/maybe/dist/maybe.node.js'
```

## usage

By using a `Maybe` value, it forces us to handle both the cases where a value does exist, and where it doesn't. This is helpful for dealing with API's that return null/undefined values if they fail.


```javascript
const list = [
  1,
  2,
  3,
]

const value = list.find(v => v === 4)

Maybe(value).match(
  // just callback
  (v) => {
    console.log(`we found a value: ${v}`)
  },
  // nothing callback
  () => {
    console.log('unable to find value :(')
  },
)
```
npm package: @shards/result
Description: Result type for javascript, not compliant with fantasyland spec
Author: Parasrah
Latest version: 2.2.0

# Maybe

> TODO

## installation


for npm:

```
npm i @shards/result
```

for yarn:

```
yarn add @shards/result
```

to require:

```
const Maybe = require('@shards/result').default
```

to import (es6 modules):

```
import Maybe from '@shards/result'
```

for node:

```
import Maybe from '@shards/maybe/dist/result.node.js'
```

## usage

> TODO
npm package: @shardul/gen-app
Description: No Need To Remember CLI App Names
Author: Shardul Nalegave
Latest version: 0.0.3


# Generate App

No Need To Remember CLI App Names



## What Is gen-app ?

Are You Tired Of Remembering Names Of All CLI Apps ? With This Simple App You Can Gnerate Angular, Vue, React, Next.js apps easily!



## Installation

Run ` npm install -g @shardul/gen-app ` To Install The CLI App. Now You Can Access It From Anywhere.

     npm install -g @shardul/gen-app 


To Test Installation Run ` gen-app h ` Or ` gen-app help `. It Should Display All Usage Information.

     gen-app h 

     gen-app help 



## Usage


### Angular App

Run ` gen-app angular <name> ` To Create A **Angular** App.

     gen-app angular <name> 


### Vue App

Run ` gen-app vue <name> ` To Create A **Vue** App.

     gen-app vue <name> 


### React App

Run ` gen-app react <name> ` To Create A **React** App.

     gen-app react <name> 


### Next.js App

Run ` gen-app next-react <name> ` To Create A **Next.js** App.

     gen-app next-react <name> 

-----------------------------------------------------------------------------------

##### This Project Is Licensed Under The [MIT License](./LICENSE)


#### Project By [Shardul Nalegave](https://shardulnalegave.github.io)
npm package: @share-code/calendar-fns
Description: functions for calendar
Author: Jiyeol Lee
Latest version: 1.0.1

![](https://badgen.net/npm/v/@share-code/calendar-fns)
![](https://badgen.net/bundlephobia/minzip/@share-code/calendar-fns)
![](https://badgen.net/npm/dm/@share-code/calendar-fns)
![](https://badgen.net/npm/dt/@share-code/calendar-fns)
![](https://img.shields.io/badge/license-MIT-blue.svg)

# calendar-fns

functions for calendar

## Install

```zsh
npm install @share-code/calendar-fns
```

## Functions

#### isLeapYear

Check leap year

```typescript
isLeapYear = (year: number) => boolean
```

#### getAnchorDay

Get anchor day, There are only four case

```typescript
getAnchorDay = (year: number) => 2 | 0 | 5 | 3
```

#### getDoomsDayAlgorithm

Get the dooms day value using dooms day algorithm

```typescript
getDoomsDayAlgorithm = (year: number) => number
```

#### getDoomsDay

Get Dooms day of specific month

```typescript
getDoomsDay = (month: number, year: number) => { day: number, daysOfTheWeek: number }
```

#### getDayOfWeek

Get day of the week

0: Sunday

1: Monday

2: Tuesday

3: Wednesday

4: Thursday

5: Friday

6: Saturday

```typescript
getDayOfWeek = (day: number, month: number, year: number) =>
  0 | 1 | 2 | 3 | 4 | 5 | 6
```

#### getDaysLengthOfMonth

Get length of the month

Possible case : 28, 29, 30, 31

```typescript
getDaysLengthOfMonth = (month: number, year: number) => 28 | 29 | 30 | 31
```

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @share-code/collide-fns
Description: functions for collision detection
Author: Jiyeol Lee
Latest version: 1.0.0

![](https://badgen.net/npm/v/@share-code/collide-fns)
![](https://badgen.net/bundlephobia/minzip/@share-code/collide-fns)
![](https://badgen.net/npm/dm/@share-code/collide-fns)
![](https://badgen.net/npm/dt/@share-code/collide-fns)
![](https://img.shields.io/badge/license-MIT-blue.svg)

# collide-fns

to check collision detection, I chose to use SAT (Separating Axis Theorem)

according to wikipedia, the SAT (separating axis theorem) can be applied for fast collision detection
between polygon meshes. Each face's normal or other feature direction is used as a separating axis.
Note that this yields possible separating axes, not separating lines/planes.

## Install

```zsh
npm install @share-code/collide-fns
```

## Functions

isCollide

check the two objects are collided.
it's pretty obvious but each vertexes should have more than 3 vertex.

```typescript
interface Vertex {
  x: number
  y: number
}

isCollide = (aVertexes: Vertex[], bVertexes: Vertex[]) => boolean
```

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @share911/accounts
Description: NPM port of some accounts-base and accounts-password functionality. Compatible with AWS Lambda.
Latest version: 2.3.2

# accounts

NPM port of some accounts-base and accounts-password functionality.
Compatible with AWS Lambda.

Install package:

```
npm i @share911/accounts
```

Use package:

```
import { createUser, hashPassword } from '@share911/accounts'
```

Publish package to NPM (after you bump version):

```
npm login
npm publish
```
npm package: @share911/babel-plugin-root-slash-import
Description: Babel Plugin to enable relative root-import
Author: Arunoda Susiripala
Latest version: 1.2.0

# Babel Root Import
Babel plugin to change the behaviour of `import` to root based paths.<br>

## Example
```javascript
// Usually
import SomeExample from '../../../some/example.js'

// With babel-root-slash-import
import SomeExample from '/some/example.js'
```

## Install
```
npm install --save-dev babel-root-slash-import
```

```
yarn add --dev babel-root-slash-import
```

## Use
Add a `.babelrc` file and write:
```javascript
{
  "plugins": [
    "babel-root-slash-import"
  ]
}
```
or pass the plugin with the plugins-flag on CLI
```
npx babel-node myfile.js --plugins babel-root-slash-import
```

## Extras
If you want a custom root because for example all your files are in the src/js folder you can define this in your `.babelrc` file
```javascript
{
  "plugins": [
    ["babel-root-slash-import", {
      "rootPathSuffix": "src/js"
    }]
  ]
}
```

## Motivate
If you like this project just give it a star :) I like stars.
npm package: @share911/babel-root-slash-import
Description: Babel Plugin to enable relative root-import
Author: Arunoda Susiripala
Latest version: 1.2.0

# Babel Root Import
Babel plugin to change the behaviour of `import` to root based paths.<br>

## Example
```javascript
// Usually
import SomeExample from '../../../some/example.js'

// With babel-root-slash-import
import SomeExample from '/some/example.js'
```

## Install
```
npm install --save-dev babel-root-slash-import
```

```
yarn add --dev babel-root-slash-import
```

## Use
Add a `.babelrc` file and write:
```javascript
{
  "plugins": [
    "babel-root-slash-import"
  ]
}
```
or pass the plugin with the plugins-flag on CLI
```
npx babel-node myfile.js --plugins babel-root-slash-import
```

## Extras
If you want a custom root because for example all your files are in the src/js folder you can define this in your `.babelrc` file
```javascript
{
  "plugins": [
    ["babel-root-slash-import", {
      "rootPathSuffix": "src/js"
    }]
  ]
}
```

## Motivate
If you like this project just give it a star :) I like stars.
npm package: @share911/chimpy
Description: Develop acceptance tests & end-to-end tests with realtime feedback.
Author: Sam Hatoum
Latest version: 0.54.1

# IMPORTANT ANNOUNCEMENT - July 22nd, 2018

The Chimp that you know and love is now being split into two separate projects, both of which are intended to help you deliver higher quality faster.

The first is [*Chimpy*](https://github.com/TheBrainFamily/chimpy), which will be developed and maintained by [TheBrain team](http://team.thebrain.pro). This project will continue evolving and supporting the current thinking behind Chimp 1.x. 

The second is [*Chimp 2.0*](https://github.com/xolvio/chimp), which will be developed and maintained by [Xolv.io](http://xolv.io). This project will be built from scratch based on the learnings made while using Chimp 1.x in the field.

For more details about this decision, [please see the full announcement here.](https://medium.com/@sam_hatoum/the-future-of-chimp-js-e911f8e9aaa6)

---

Access the [documentation site here.](https://thebrainfamily.github.io/chimpy)
npm package: @share911/emitter
Description: A JavaScript event emitter written in ES6.
Author: Guille Paz
Latest version: 0.0.7

# emitter

> A JavaScript Emitter written in ES6.

## Usage
```js
import Emitter from 'emitter';

const bus = new Emitter();

bus.emit('finish');
```

## API

### Emitter#on(event, listener)
Adds a `listener` to the collection for a specified `event`.
- `event` - The name of the event you want to add.
- `listener` - Listener you want to add from given event.

```js
emitter.on('live', listener);
```

### Emitter#once(event, listener)
Adds a one time `listener` to the collection for a specified `event`. It will execute only once.
- `event` - The name of the event.
- `listener` - Listener you want to add from the given event.

```js
emitter.once('live', listener);
```

### Emitter#off(event, listener)
Removes a `listener` from the collection for a specified `event`.
- `event` - The name of the event.
- `listener` - Listener you want to remove from the given event.

```js
emitter.off('live', listener);
```

### Emitter#emit(event, [...args])
Execute each of the `listeners` collection in order with the given parameters.
- `event` - The name of the event you want to emit.
- `[...args]` - The given arguments.

```js
emitter.emit('live', 'data1', 'data2');
```

## npm-scripts
```
$ npm run compile
```

```
$ npm run browser
```

```
$ npm test
```

```
$ npm run hint
```

## License
MIT license. Copyright © 2015 [Mango](http://getmango.com).
npm package: @share911/flow-to-ts
Description: [![Actions Status](https://github.com/Khan/flow-to-ts/workflows/Node%20CI/badge.svg)](https://github.com/Khan/flow-to-ts/actions) [![codecov](https://codecov.io/gh/Khan/flow-to-ts/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/flow-to-ts) [![n
Latest version: 0.5.8

# flow-to-ts

[![Actions Status](https://github.com/Khan/flow-to-ts/workflows/Node%20CI/badge.svg)](https://github.com/Khan/flow-to-ts/actions)
[![codecov](https://codecov.io/gh/Khan/flow-to-ts/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/flow-to-ts)
[![npm version](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts.svg)](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts)

Convert Flow code to TypeScript.

> :warning: This is a WIP and many things still do not work properly.  There
> may also be the odd regression from time to time as work progresses.

The goal of this project is to provide a tool that can translate 95% of Flow
to TypeScript while maintaining a high percentage of the existing type
information. We don't want to convert code and end up with everything using
`any`. We also want to avoid having to make a lot of manual changes to files
afterwards, e.g. changing `SyntheticEvent` to `React.Event`.

# Quick start

- `yarn global add @khanacademy/flow-to-ts`
- `flow-to-ts [options] <file globs>`

For a comprehensive list of available options, please check out the [CLI code](./src/cli.ts).

# Playground

https://flow-to-ts.netlify.com

# Principles

- when exact translation isn't possible:
  - downgrade to `any` when possible and provide a gentle warning
  - when it isn't possible to downgrade (e.g. `%checks`), remove the syntax
    and provide a forceful warning that the code in question will need a human
    to convert it manually.
- best effort to maintain blank lines and the position comments, this isn't
  always possible so warn in those situations where we can't, e.g. converting
  object type spreads to intersection types.

# Contributing

## Bugs

Bug reports for converting Flow to TypeScript should include a link to the
playground with an example of a minimal reproducible example of the bug.

## Feature Requests

Feature requests are welcome.

## Pull Requests

Please make sure there is a GitHub issue first before creating a pull request
except for small things. Also, please sign our [Contributor License Agreement](https://docs.google.com/forms/d/e/1FAIpQLSdyXYrc8ogVoA46J9KXyIj5nKlZzNkOnQG-4A1R7X_BWGTShQ/viewform).

Pull requests that fix a bug in the conversion code should include one or more
test cases and should have 100% diff coverage.

## Dev quick start

```bash
git clone git@github.com:Khan/flow-to-ts.git
cd flow-to-ts
git submodule update --depth 1 --init -- babel
cd babel
yarn
cd ..
yarn
yarn test
```

## Helpful resources

- https://github.com/niieani/typescript-vs-flowtype
- https://astexplorer.net/
npm package: @share911/meteor-check
Description: Check whether a value matches a pattern library from Meteor made compatible for Nodejs and Browserify
Author: Morten Henriksen
Latest version: 1.0.8

# check

```
import { check, Match } from '@share911/meteor-check'
```

See the [meteor check documentation](http://docs.meteor.com/#check) for more
detailed information.

## License

This module is licensed under MIT. Same as Meteor.js is.

## Credit
Goes to @primus for his https://www.npmjs.com/package/ejson - This module is a uses of his wrapper pattern.