open-index/open-npm huggingface dataset:
npm package: @rockiestar/tree-sitter-beancount
Description: a tree-sitter parser for the beancount syntax
Author: Brian Ryall
Latest version: 2.3.3-fix.1

# tree-sitter-beancount
a [tree-sitter](https://github.com/tree-sitter/tree-sitter) parser for the [beancount](https://github.com/beancount/beancount) syntax

## Reference
[Beancount syntax](https://beancount.github.io/docs/beancount_language_syntax.html)
[tree-sitter](https://tree-sitter.github.io)
npm package: @rockinblocks/gatsby-starter-rockinblocks
Description: Page builder GatsbyJS starter powered by TinaCMS
Author: Jed Darrohn
Latest version: 0.3.1

# Rockin' Blocks! Gatsby Starter

**This is in early alpha and you may very well find bugs. Feel free to fork or use in production at your own risk.**

**Rockin' Blocks!** is an open-source Gatsby workspace with documentation-driven development in mind, focused on improving startup success.

### The band is back together for the first time!

- [GatsbyJS](https://gatsbyjs.com)
- [Storybook](https://storybook.js.org/)

## Features

- Includes example blocks to build your own to help you start crafting your library
- Comes with Storybook, ready to create a design system and frontend documentation for your brand
- Comes with Markdown support
- Comes with PrismJS support for language-based code highlighting
- Structured data for SEO best-practices out of the box

## Coming Soon

- TinaCMS for live page editing with Git commits upon save
- TinaCMS for live editing Markdown blog posts in real time
- The ability to create new pages through Tina, not just through Markdown files
- Better structured data configuration through **Settings**
- CLI tool for quickly creating new blocks
- Potentially abstracted components that can converted to any framework

## Reach Out

Twitter: [@RockinBlocksJS](https://twitter.com/RockinBlocksJS)
npm package: @rockinblocks/riff
Description: Generate blocks for your Rockin' Blocks project
Author: Jed Darrohn
Latest version: 0.3.1

# luthier

> My smashing module

## Install

```
$ npm install luthier
```

## Usage

```js
import luthier from 'luthier';

luthier('unicorns');
//=> 'unicorns & rainbows'
```

## API

### luthier(input, options?)

#### input

Type: `string`

Lorem ipsum.

#### options

Type: `object`

##### foo

Type: `boolean`\
Default: `false`

Lorem ipsum.

## CLI

```
$ npm install --global luthier
```

```
$ luthier --help

  Usage
    luthier [input]

  Options
    --foo  Lorem ipsum [Default: false]

  Examples
    $ luthier
    unicorns & rainbows
    $ luthier ponies
    ponies & rainbows
```
npm package: @rocklab/commitlint-config
Description: A shareable commitlint config
Author: Carsten Stein
Latest version: 3.2.103

# Rocklab Commit Style Guide

_Commit rules for JavaScript projects_

> Commitlint [shareable configs](https://commitlint.js.org/#/reference-configuration?id=shareable-configuration)

## Requirements

Install `commitlint` and `husky`

```shell script
npm install --save-dev @commitlint/cli
npm install husky --save-dev
npx husky install
```

## Installation

```shell script
npm install --save-dev @rocklab/commitlint-config
```

```shell script
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1'
```

## Usage

_commitlint.config.js_

```js
// commitlint.config.js
module.exports = {
  extends: ['@rocklab'],
};
```
npm package: @rocklab/eslint-config-javascript
Description: A shareable eslint config
Author: Carsten Stein
Latest version: 3.2.103

# Rocklab JavaScript Style Guide

_ESLint rules for JavaScript projects_

> ESLint [shareable configs](http://eslint.org/docs/developer-guide/shareable-configs.html)

## Requirements

```shell script
npm install --save-dev eslint babel-eslint prettier-eslint-cli
```

## Installation

```shell script
npm install --save-dev @rocklab/eslint-config-javascript
```

## Usage

_.eslintrc_

React.js projects:

```metadata json
{
  "extends": "@rocklab/eslint-config-javascript",
  "rules": {
    // Add your rules
  }
}
```

Node.js projects:

```metadata json
{
  "extends": "@rocklab/eslint-config-javscript/base",
  "rules": {
    // Add your rules
  }
}
```
npm package: @rocklab/eslint-config-node
Description: A shareable eslint config for Node.js web app
Author: Carsten Stein
Latest version: 2.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Rocklab JavaScript Style Guide

_ESLint rules for Node.js app projects_

> ESLint [shareable configs](http://eslint.org/docs/developer-guide/shareable-configs.html)

## Requirements

```shell script
npm install --save-dev eslint babel-eslint prettier-eslint-cli
```

## Installation

```shell script
npm install --save-dev @rocklab/eslint-config-node
```

## Usage

_.eslintrc_

```metadata json
{
  "extends": "@rocklab/eslint-config-node",
  "rules": {
    // Add your rules
  }
}
```
npm package: @rocklab/eslint-config-react
Description: A shareable eslint config for React.js web app
Author: Carsten Stein
Latest version: 2.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Rocklab JavaScript Style Guide

_ESLint rules for React web app projects_

> ESLint [shareable configs](http://eslint.org/docs/developer-guide/shareable-configs.html)

## Requirements

```shell script
npm install --save-dev eslint babel-eslint prettier-eslint-cli
```

## Installation

```shell script
npm install --save-dev @rocklab/eslint-config-react
```

## Usage

_.eslintrc_

```metadata json
{
  "extends": "@rocklab/eslint-config-react",
  "rules": {
    // Add your rules
  }
}
```
npm package: @rocklab/eslint-config-typescript
Description: A shareable eslint config
Author: Carsten Stein
Latest version: 3.2.103

# Rocklab TypeScript Style Guide

_ESLint rules for TypeScript projects_

> ESLint [shareable configs](http://eslint.org/docs/developer-guide/shareable-configs.html)

## Requirements

```shell script
npm install --save-dev eslint babel-eslint prettier-eslint-cli
```

## Installation

```shell script
npm install --save-dev @rocklab/eslint-config-typescript
```

## Usage

_.eslintrc_

React.js projects:

```metadata json
{
  "extends": "@rocklab/eslint-config-typescript",
  "rules": {
    // Add your rules
  }
}
```

Node.js projects:

```metadata json
{
  "extends": "@rocklab/eslint-config-typescript/base",
  "rules": {
    // Add your rules
  }
}
```
npm package: @rocklab/logging
Description: Logger
Author: Carsten Stein
Latest version: 1.4.0

# Rocklab logging

> Logging utilities for Javascript front-end projects

## Requirements

- node version >= 18
- npm version >= 9

## Install

```shell script
npm install @rocklab/logging
```

## Usage

```typescript
import { Logger } from '@rocklab/logging';
```
npm package: @rocklab/redux-utils
Description: Redux utils
Author: Carsten Stein
Latest version: 1.18.0

# Rocklab redux utils

> Utilities for Javascript front-end projects with Redux

- Auth
- Lists
- Notifications
- Hydration utils

## Requirements

- node version >= 18
- npm version >= 9
- React >= 17
- React redux

## Install

```shell script
npm install @rocklab/redux-utils
```
npm package: @rocklab/stylelint-config
Description: A shareable stylelint config for web apps
Author: Carsten Stein
Latest version: 3.2.103

# Rocklab CSS Style Guide

_Stylelint rules for web app projects_

> Stylelint [shareable configs](https://stylelint.io/user-guide/configuration/)

## Requirements

```shell script
npm install --save-dev stylelint
```

## Installation

```shell script
npm install --save-dev @rocklab/stylelint-config
```

## Usage

_.stylelintrc_

```metadata json
{
  "extends": "@rocklab/stylelint-config",
  "rules": {
    // Add your rules
  }
}
```
npm package: @rocklab/validation
Description: A library for input validation
Author: Carsten Stein
Latest version: 2.1.0

# Rocklab validators

![Node CI](https://github.com/cstn/rocklab-validation/workflows/Node%20CI/badge.svg)

_A library for input validation_

* Credit card (number, cvc, expiration date)
* BIC (Bank Identifier Code)
* E-mail address
* IBAN (International Bank Account Number)
* non empty
* length
* password
* username

## Requirements

* node version 18
* npm version 9

## Install

```shell script
npm install @rocklab/validation
```

## Usage
Validate input:
```javascript
import { isEmail, hasLength } from '@rocklab/validation';

if (!isEmail(value)) {
  alert('Please enter a valid email address');
}

if (!hasLength(value, { min: 3, max: 10 })) {
  alert('3-8 chars required');
}
```

Apply multiple validators:
```javascript
import { validate, Validators } from '@rocklab/validation';

const errors = validate(value, [
	{ validator: Validator.NotEmpty, message: 'Input required'},
  { validator: Validator.Email, message: 'email required'},
]);
```

## Development

### Setup

```shell script
git clone https://github.com/cstn/rocklab-validation.git
npm install
```

### Commands

Build

```shell script
npm run build
```

Check code conventions

```shell script
npm run lint
npm run lint:fix
```

Auto format code

```shell script
npm run prettier
```

Run tests

```shell script
npm test
npm run watch
```

WITHOUT WARRANTY OF ANY KIND
npm package: @rockleon/site-visits
Description: npm package to keep count of number of times a site is visited.
Author: rockloen
Latest version: 1.0.4

# @rockleon/site-visits

[![npm (scoped)](https://img.shields.io/npm/v/@rockleon/site-visits.svg)](https://www.npmjs.com/package/@rockleon/site-visits)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@rockleon/site-visits.svg)](https://www.npmjs.com/package/@rockleon/site-visits)

**npm package to keep count of visits made to your website.**

Want to keep count of the number of times your website is viewed? Well, here's a solution!

Keep track of visit-count of all your websites. At one place!!

Website : [https://site-visits-rockleon.web.app/](https://site-visits-rockleon.web.app/)

Steps :
- Go to the specified website and register/login.
- Create a project for your specific website; a unique key will be generated.
- Use the key with this package.


## Install

Using npm
```
npm install @rockleon/site-visits
```
Using yarn
```
yarn add @rockleon/site-visits
```

## Usage

```js
// Import function from package
import updateSiteVisit from "@rockleon/site-visits";

// Execute function
const key = "your_key";
updateSiteVisit(key);
```

Import and call this function in the main page/app/index of your project in the following functions, so that the visit-count updates when your main page is loaded.
- Javascript: window.onload()
- React: componentDidMount()
- Vue: mounted()
- Angular: ngOnInit()

### Debug Mode
You can use this package in debug mode by passing the second argument as 'true' while developing and testing your site.
In debug mode, your website's actual visit count won't get updated.
Instead you will recieve messages in console informing whether the package is working fine; or stating the errors, if any.
If you are running the website locally, then the package will by default run in debug mode.

```js
const key = "your_key";
updateSiteVisit(key, true);
```

This package makes use of [SessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) to prevent visit-count updates if the user refreshes or navigates in the same website. The visit-count is not updated if the browser doesn't support SessionStorage.

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @rocklobsterinc/swv
Description: Schema-Woven Validation (SWV) is the next generation of web form validation mechanism.
Author: Takayuki Miyoshi
Latest version: 2.0.0

# Schema-Woven Validation

This is a JavaScript implementation of [Schema-Woven Validation (SWV)](https://contactform7.com/schema-woven-validation/), the next generation of web form validation mechanism.


## Installation

```
npm install @rocklobsterinc/swv
```
npm package: @rockmandash/font-subset
Description: Faster font load time by subsetting fonts.
Author: Joseph Wang
Latest version: 1.0.6

# font-subset

Faster font load time by subsetting fonts.

# Requirement

Need create-react-app v2!

yarn add @rockmandash/font-subset
yarn add import-all.macro emotion react-emotion lodash

pip install fonttools
pip install Brotli

# Usage

First, modify npm scripts
"build": "subset-font && react-scripts build",

then just import fonts in the top of index.js file
import "@rockmandash/font-subset/NotoSansTC"

# production

process.env.NODE_ENV === 'production';
font-subset will search all js/css/html files in src/ directory, retrieve all unique chinese words, and create new subset fonts.

# development

process.env.NODE_ENV === 'development';
font-subset will serve whole fonts.
npm package: @rockmandash/ui
Description: My ui
Author: rockmandash
Latest version: 3.0.5

# ui

> My ui

## Install

```
yarn add @rockmandash/ui
```

## Usage

```jsx
import { nl2br } from '@rockmandash/ui';

class Example extends Component {
  render() {
    return (
      <>
        {nl2br(`
            爽哥哥
            爽哥哥
            爽哥哥
      `)}
      </>
    );
  }
}
```

## License

MIT © [rockmandash](https://github.com/rockmandash)