open-index/open-npm huggingface dataset:
npm package: @sivandu/npmtest-component
Description: react components library
Author: sivakumars
Latest version: 1.0.1

# npmtest

> react components library

[![NPM](https://img.shields.io/npm/v/npmtest.svg)](https://www.npmjs.com/package/npmtest) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save npmtest
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from 'npmtest'

class Example extends Component {
  render () {
    return (
      <MyComponent />
    )
  }
}
```

## License

MIT © [sivakumars](https://github.com/sivakumars)
npm package: @sivasifr/icons
Description: React component that implement svg icons.
Author: Svetlana Ivannikova
Latest version: 1.0.15

# @sivasifr/icons

React component that implement external svg icons.

## Installation

Install the package in your project directory with:

```sh
// with npm
npm install @sivasifr/icons

// with yarn
yarn add @sivasifr/icons
```
npm package: @sivasifr/ui-carousel
Description: React components that implement Carousel.
Author: Svetlana Ivannikova
Latest version: 1.0.14

# @sivasifr/ui-carousel

React components that implement Carousel.

## Installation

Install the package in your project directory with:

```sh
// with npm
npm install @sivasifr/ui-carousel

// with yarn
yarn add @sivasifr/ui-carousel
```
npm package: @sivasifr/ui-core
Description: React ui components
Author: Svetlana Ivannikova
Latest version: 1.0.40

# @sivasifr/ui-core

React components that implement Google's Material Design.

## Installation

Install the package in your project directory with:

```sh
// with npm
npm install @sivasifr/ui-core

// with yarn
yarn add @sivasifr/ui-core
```
npm package: @sivasothy-tharsi/create-springboot-cli
Description: CLI tool to generate Spring Boot projects
Author: Sivasothy Tharsi
Latest version: 1.0.1

# create-springboot-app

> CLI tool to quickly generate a Spring Boot project with a ready-to-use folder structure, sample entity, repository, service, and controller. It can also automatically start the Spring Boot application.

---

## Features

- Generates a standard **Spring Boot folder structure**:
  - `controller`, `service`, `repository`, `model`, `config`
  - `resources` for `static`, `templates`, `application.properties`
  - `test` folder with a sample test
- Creates **sample files**:
  - `SampleEntity.java` (entity)
  - `SampleRepository.java` (JPA repository)
  - `SampleService.java` (service)
  - `SampleController.java` (REST controller)
- Generates **`pom.xml`** with necessary dependencies
- Automatically runs `mvn spring-boot:run` after generation
- Works on **Windows, Linux, and macOS**

---

## Installation

### Globally via npm

```bash
npm install -g @sivasothy-tharsi/create-springboot-cli
```

### Using npx (no global install required)

```bash
npx @sivasothy-tharsi/create-springboot-cli myproject
```

Creates a folder myawesomeapp in the current directory

Generates all folders and sample files

Automatically starts the Spring Boot application

## Project Structure After Generation

```text
myawesomeapp/
 ├── src/
 │    ├── main/java/com/myawesomeapp/
 │    │    ├── controller/SampleController.java
 │    │    ├── service/SampleService.java
 │    │    ├── repository/SampleRepository.java
 │    │    ├── model/SampleEntity.java
 │    │    └── MyawesomeappApplication.java
 │    └── resources/
 │         ├── static/
 │         ├── templates/
 │         └── application.properties
 ├── src/test/java/com/myawesomeapp/
 │    └── MyawesomeappApplicationTests.java
 └── pom.xml
```

## Requirements

- Java JDK 17 or later
- Maven installed and in PATH (`mvn -v`)
- Node.js (v14+) for the CLI


## License

MIT License  
© 2025 Sivasothy Tharsi
npm package: @siviter-xyz/joyous-departures
Description: Generate warm, heartfelt goodbye messages for email templates
Author: siviter.xyz
Latest version: 2.0.1

# Joyous Departures

[![npm version](https://img.shields.io/npm/v/@siviter-xyz/joyous-departures.svg)](https://www.npmjs.com/package/@siviter-xyz/joyous-departures)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Generate warm, heartfelt sign-off messages for email templates and other communication contexts.

## Installation

```bash
npm install @siviter-xyz/joyous-departures
# or
pnpm add @siviter-xyz/joyous-departures
```

## Quick Start

```typescript
import { generateGoodbye, generateGoodbyeSync } from '@siviter-xyz/joyous-departures';

// Async
const message = await generateGoodbye({
  templateArgs: { name: 'Alice' }
});
console.log(message); // "Wishing you a joyous day, Alice ❤️"

// Sync
const syncMessage = generateGoodbyeSync({
  templateArgs: { name: 'Bob' },
  stripEmojis: true
});
console.log(syncMessage); // "Wishing you a joyous day, Bob"
```

## Features

- 🚀 **Fast** - Synchronous generation in <1ms
- 🌍 **Universal** - Works in Node.js, browsers, Cloudflare Workers
- 🎨 **Customizable** - Template variables (`{name}`, `{location}`, `{date}`, `{time}`)
- 😊 **Emoji Support** - Included by default, with option to strip
- 📦 **Zero Dependencies** - Pure TypeScript, no native modules

## API

### `generateGoodbye(options?): Promise<string>`

Async function for generating messages. Supports optional translator callback.

### `generateGoodbyeSync(options?): string`

Synchronous function for generating messages.

### Options

```typescript
interface GoodbyeOptions {
  templateArgs?: {
    name?: string;      // Max 50 chars, default: "Good Soul"
    location?: string;  // Max 100 chars, default: "The World"
    date?: string;      // Format: YYYY-MM-DD
    time?: string;      // Format: HH:MM
  };
  use_emojis?: boolean;   // Default: true
  stripEmojis?: boolean;  // Default: false
  timezone?: string;      // IANA timezone, default: "Europe/London"
  translator?: (lang: string, msg: string) => Promise<string>;
}
```

## Template Variables

| Variable | Default | Description |
|----------|---------|-------------|
| `{name}` | "Good Soul" | Recipient's name (max 50 chars) |
| `{location}` | "The World" | Location context (max 100 chars) |
| `{date}` | Current date | Format: YYYY-MM-DD |
| `{time}` | Current time | Format: HH:MM |

## License

MIT

## Links

- [GitHub Repository](https://github.com/siviter-xyz/joyous-departures)
- [Python Package (PyPI)](https://pypi.org/project/joyous-departures/)
npm package: @sivrad/matrix
Description: An opinionated schema-based database interface for the modern world.
Author: Max Koon
Latest version: 1.0.39

<p align="center"><img height="220px" src="https://i.imgur.com/UMHxlIV.png" alt="Matrix Logo" /><p>

<p align="center">
  <strong>Matrix</strong><br />
  <sub>An opinionated schema-based database interface for the modern world.</sub>
</p>

<p align="center">
  [ <a href="#installation">Installation 💾</a> | <a href="#usage">Usage 🤓</a> | <a href="https://www.npmjs.com/package/@sivrad/PACKAGE_NAME">NPM 📦</a> | <a href="https://github.com/sivrad/readme-template">Github 🕸</a> ]
</p>

# Installation

```sh
yarn add @sivrad/matrix
```

# Usage

## Create Matrix Instance

```typescript
// Import Matrix from this package.
import { Matrix } from '@sivrad/matrix';

// Create an instance and pass all the collections.
const mtx = new Matrix([exampleCollection]);
```

## Get Collection

```typescript
console.log(mtx.getCollection('example'));
```

## Get a Type

```typescript
console.log(mtx.getType('example.ExampleThing'));
```

The rest of this is meant to be used by generated code with the [`collection-tools`](https://github.com/sivrad/matrix-collection-tools) package.

# Contributing

These are the steps to contribute to the Matrix Package.

## Post Git Clone

### Install Dependencies

Install node dependencies with yarn.

```sh
yarn
```

### Generate Internal Types

This generates internal types from the JSON schemas from [this](https://github.com/sivrad/matrix-schema) repo.

```sh
yarn generate-types
```

## Building the Package

This script will build the package and transpile the code to Javascript.

```sh
yarn build
```

Additionally, you can just build the `src/types/*` files with:

```sh
yarn build-types
```

This is usefull if you don't want to transpile into Javascript every time you change something.
npm package: @sivrad/matrix-collection-name
Description: PACKAGE_DESCRIPTION
Author: Max Koon
Latest version: 1.0.2

<p align="center"><img height="220px" src="https://i.imgur.com/UMHxlIV.png" alt="Logo" /><p>

<p align="center">
  <strong>Matrix Standard Collection.</strong><br />
  <sub>The Standard Matrix Collection.</sub>
</p>

<p align="center">
  [ <a href="#installation">Installation 💾</a> | <a href="#usage">Usage 🤓</a> | <a href="https://www.npmjs.com/package/@sivrad/matrix-collection-std">NPM 📦</a> | <a href="https://github.com/sivrad/matrix-collection-std">Github 🕸</a> ]
</p>

# Installation

```sh
yarn add @sivrad/matrix-collection-std
```

# Usage
npm package: @sivrad/matrix-collection-std
Description: The Standard Matrix Collection.
Author: Max Koon
Latest version: 1.0.16

<p align="center"><img height="220px" src="https://i.imgur.com/UMHxlIV.png" alt="Logo" /><p>

<p align="center">
  <strong>Matrix Standard Collection.</strong><br />
  <sub>The Standard Matrix Collection.</sub>
</p>

<p align="center">
  [ <a href="#installation">Installation 💾</a> | <a href="#usage">Usage 🤓</a> | <a href="https://www.npmjs.com/package/@sivrad/matrix-collection-std">NPM 📦</a> | <a href="https://github.com/sivrad/matrix-collection-std">Github 🕸</a> ]
</p>

# Installation

```sh
yarn add @sivrad/matrix-collection-std
```

# Usage
npm package: @sivrad/matrix-collection-tools
Description: Collection CI/CD.
Author: Max Koon
Latest version: 1.0.24

<p align="center"><img height="220px" src="https://avatars.githubusercontent.com/u/76859002?s=200&v=4" alt="Logo" /><p>

<p align="center">
  <strong>Matrix Collection Tools</strong><br />
  <sub>Collection CI/CD.</sub>
</p>

<p align="center">
  [ <a href="#installation">Installation 💾</a> | <a href="#usage">Usage 🤓</a> | <a href="https://www.npmjs.com/package/@sivrad/PACKAGE_NAME">NPM 📦</a> | <a href="https://github.com/sivrad/readme-template">Github 🕸</a> ]
</p>

# Installation

```sh
yarn add -D @sivrad/matrix-collection-tools
```

# Usage

## Lint the Collection

This will compare files that match:

-   `./collection.json`
-   `./types/*.json`

```sh
matrix lint
```

Or using a script and yarn:

```json
"scripts": {
  "lint": "yarn matrix lint"
}
```

## Build the Collection Package

This will build the files in `./src/`.

```sh
matrix build
```

## Make a new Type

You can quickly create a new type with this command.

```sh
matrix mk-type YourTypeName
```

# Build

The main function of this the collection tools is the Build functionality.

This will create all the files for the collection package.

These files include:

-   `./src/`
-   `./src/index.ts`
-   `./src/collection.ts`
-   `./src/types`
-   `./src/types/index.ts`
-   `./src/types/YourTypeName.ts`
npm package: @sivrad/matrix-source
Description: Used for creating Matrix Sources.
Author: Max Koon
Latest version: 1.0.5

<p align="center"><img height="220px" src="https://avatars.githubusercontent.com/u/76859002?s=200&v=4" alt="Logo" /><p>

<p align="center">
  <strong>Matrix Source</strong><br />
  <sub>Used for creating sources.</sub>
</p>

<p align="center">
  [ <a href="#installation">Installation 💾</a> | <a href="#usage">Usage 🤓</a> | <a href="https://www.npmjs.com/package/@sivrad/matrix-source">NPM 📦</a> | <a href="https://github.com/sivrad/matrix-source">Github 🕸</a> ]
</p>

# Installation

```sh
yarn add @sivrad/matrix-source
```

# Usage
npm package: @sivukhin/database-browser-common
Description: This package is the Turso embedded database common JS library which is shared between final builds for Node and Browser.
Latest version: 0.2.0-pre.z

## About

This package is the Turso embedded database common JS library which is shared between final builds for Node and Browser.

Do not use this package directly - instead you must use `@tursodatabase/database` or `@tursodatabase/database-browser`.

> **⚠️ Warning:** This software is ALPHA, only use for development, testing, and experimentation. We are working to make it production ready, but do not use it for critical data right now.
npm package: @sivukhin/database-common
Description: This package is the Turso embedded database common JS library which is shared between final builds for Node and Browser.
Latest version: 0.2.0-pre.z

## About

This package is the Turso embedded database common JS library which is shared between final builds for Node and Browser.

Do not use this package directly - instead you must use `@tursodatabase/database` or `@tursodatabase/database-browser`.

> **⚠️ Warning:** This software is ALPHA, only use for development, testing, and experimentation. We are working to make it production ready, but do not use it for critical data right now.
npm package: @sivukhin/sync-common
Description: This package is the Turso Sync common JS library which is shared between final builds for Node and Browser.
Latest version: 0.2.0-pre.z

## About

This package is the Turso Sync common JS library which is shared between final builds for Node and Browser.

Do not use this package directly - instead you must use `@tursodatabase/sync` or `@tursodatabase/sync-browser`.

> **⚠️ Warning:** This software is ALPHA, only use for development, testing, and experimentation. We are working to make it production ready, but do not use it for critical data right now.
npm package: @siwt/core
Description: This is the main library (core) to be used in your backend. Use it to create and verify access, refresh and id tokens.
Latest version: 0.0.7

# Core

This is the main library (core) to be used in your backend. Use it to create and verify access, refresh and id tokens.

## Usage

Initiate SIWT as follows:

```
import { siwt } from '@siwt/core'

const siwtClient = siwt({
  accessTokenSecret: 'YOUR ACCESS TOKEN SECRET',
  refreshTokenSecret: 'YOUR REFRESH TOKEN SECRET',
  idTokenSecret: 'YOUR ID TOKEN SECRET',
  accessTokenExpiration: 900,                      // Seconds. Optional, Default 15 mins.
  refreshTokenExpiration: 36000,                   // Seconds. Optional, Default 1 month.
  idTokenExpiration: 2592000                       // Seconds. Optional, Default 10 hrs.
})
```

### Secrets

The secret can be a random string you generate. They are used to encode and decode the tokens and acts as a security layer. Treat them accordingly and refer to the [official documentation](https://jwt.io/) regarding their requirements.

### Generating tokens

**Access Token:**

Use the access token for authorization upon each protected API call. Add it as a bearer token in the authorization header of each API call. Since the access token is being sent with every api call, it is a good idea to keep it as small as possible. The minimum data required is the users pkh, however any extra claims are supported.

```
const pkh = 'USER WALLET ADDRESS'
const optionalClaims = {
  customClaim: 'CUSTOM CLAIM VALUE'
}

const accessToken = siwtClient.generateAccessToken({
  pkh,
  claims: optionalClaims,
})
```

**Refresh Token:**

If you have implemented a refresh token strategy use this token to obtain a new access token. Generating a refresh token only requires a pkh:

```
const refreshToken = siwtClient.generateRefreshToken({pkh})
```

**ID Token:**

The ID token is used to obtain some information about the user that is signed in. Because it is a valid JWT token you can use any jwt decoding library to decode the token and use it's contents.

The ID token can contain optional claims and user info:

```
const pkh = 'USER WALLET ADDRESS'
const optionalClaims = {
  customClaim: 'CUSTOM CLAIM VALUE'
}
const optionalUserInfo = {
  username: 'USERNAME',
}

const accessToken = siwtClient.generateAccessToken({
  pkh,
  claims: optionalClaims,
  userInfo: optionalUserInfo
})
```

### Verifying tokens

The access and refresh token can be verified by using

```
siwtClient.verifyAccessToken(accessToken)
```

and

```
siwtClient.verifyRefreshToken(refreshToken)
```

respectively.

## Running unit tests

Run `nx test core` to execute the unit tests via [Jest](https://jestjs.io).

## Running lint

Run `nx lint core` to execute the lint via [ESLint](https://eslint.org/).
npm package: @six-bridges/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.0.0

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @six-socks-studio/sane-shopify-sync-utils
Description: Syncing utility for Node & the browser
Author: Joseph Thomas | Good Idea Studio
Latest version: 0.21.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `sync-utils`

<!-- toc -->

<!-- tocstop -->

> TODO: document API
npm package: @six-socks-studio/sane-shopify-types
Description: Common typescript typings for @sane-shopify projects
Author: Joseph Thomas
Latest version: 0.21.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@sane-shopify/types`

<!-- toc -->
- [Reasoning](#reasoning)
- [Usage](#usage)

<!-- tocstop -->

This package is a Typescript typeRoot of typings of both common types throughout the @sane-shopify repo and external packages that otherwise have no types of their own.

Common types are exported in `types/index.ts`, and external packages are typed in `external/package-name/index.d.ts`.

This also includes all types from [@good-idea/unwind-edges](https://www.github.com/good-idea/unwind-edges).

## Reasoning

Some of the types are not in the main DefintelyTyped repository, while others are written by us.
We're using this package to increase velocity of updating types. Getting stuff into the main repo takes a week,
which is too slow for us at the current stage.

All of the types here are designed to not add any functionality except the one existing in the packages themselves

## Usage

Install this package.

```bash
yarn add --dev @sane-shopify/types
```

```ts
import { ShopifyClient } from '@six-socks-studio/sane-shopify-types'
```

To use the external typings, update your `tsconfig.json` to include additional type root.

```json
{
  {
  "compilerOptions": {
    "typeRoots": ["node_modules/@sane-shopify/types/external", "node_modules/@types"]
  }
}
```

Then, in your project:

```ts
import { SanityClient } from '@sanity/base'
```

(Setup adapted from [@joincivil/Civil/typescript-typings](https://github.com/joincivil/Civil/tree/master/packages/typescript-typings))
npm package: @six006/cli
Description: 小程序CLI：编译typescript,scss,wxml,json,复制npm包(支持分包复制),rollup打包等
Author: six006
Latest version: 0.0.44

# 微信小程序打包

## 不支持微信小程序的NPM包

第三方不支持微信小程序的包存放在 `vendors`目录下
npm package: @six7/figma-tokens-helpers
Description: Helper functions for using Figma Tokens data
Latest version: 0.0.6

# Figma Tokens Helpers

Exposes functions that utilize Figma Tokens shared plugin data.

## How to use

Import the functions you need into your plugin.

## Available helpers

### getTokensStoredOnDocument
Returns all tokens stored on document as an object containing token sets that each contain tokens as an array.

Caution: These tokens are unresolved meaning they could use aliases. To get the resolved value according to what token sets were used, see `getResolvedTokens` 

Example usage:

`getTokensStoredOnDocument()`

Result: 
```
{
    "global": {
        [
            {name: 'colors.white', value: '#ffffff', type: 'color'},
            {name: 'fg.default', value: '{colors.white}', type: 'color'}
        ]
    }
}
```

### getResolvedTokens
Reads all tokens stored on the document and the last used token sets and returns an array of tokens with their resolved value according to the set combination.

`getResolvedTokens()`

Result: 
```
[
    {name: 'colors.white', value: '#ffffff', type: 'color', internal__Parent: '_scale/light', rawValue: '#ffffff'}, {name: 'bg.default', value: '#ffffff', type: 'color', internal__Parent: 'light/default', rawValue: '{colors.white}'}
]
```

### getUsedTokenSetsOnDocument
Returns the used token sets in the document as they were last used, e.g. if a set was toggled active/set as source or disabled. This has an impact on what values each token has.

`getUsedTokenSetsOnDocument()`

Result: 
```
{
    'global': 'source', 'light': 'disabled', 'dark': 'enbabled' 
}
```

### getTokensOnNode
Returns all tokens stored on a node.

`getTokensOnNode(figma.currentPage.selection[0])`

Result: 
```
{
    "fill": "colors.black",
    "sizing": "sizing.md"
}
```

### getTokensByKey
Returns the stored token on a node for a given key

`getTokensByKey(figma.currentPage.selection[0], "fill")`

Result: 
```
"colors.black"
```

### mergeTokens
Merges given tokens with given token sets. This function is being used in getResolvedTokens, but with this function you can feed it custom sets or tokens.

`mergeTokens(tokens, sets)`

Result: 
```
[
    {name: 'colors.white', value: '#ffffff', type: 'color', internal__Parent: '_scale/light', rawValue: '#ffffff'}, {name: 'bg.default', value: '#ffffff', type: 'color', internal__Parent: 'light/default', rawValue: '{colors.white}'}
]
```
npm package: @six7/gatsby-transformer-asciidoctor
Description: Asciidoctor transformer plugin for gatsby with converterFactory
Author: Jan Six
Latest version: 0.2.0

= gatsby-transformer-asciidoctor
Julien Tanguy
v0.1.0, 2019-01-07: Initial version 

Parses asciidoc files using link:https://github.com/asciidoctor/asciidoctor.js[asciidoctor.js]

== Install

`npm install --save @jtanguy/gatsby-transformer-asciidoctor`

== How to use


[source,javascript]
----
// In your gatsby-config.js
plugins: [
  {
    resolve: `@jtanguy/gatsby-transformer-asciidoctor`,
  },
],
----


== Parsing algorithm

It recognizes only files with the `adoc` extensions as asciidoc.

Each asciidoc file is parsed into a node of type `Asciidoctor`.

The following standard attributes are stored in the document's frontmatter:

* `title`
* `date`
* `version`
* `remark`
* `author`
* `authors`: a list of authors, with the following fields:
** `name`
** `firstname`
** `lastname`
** `email`
** `initials`

The following non-standard attributes are stored in the document's frontmatter

`description`:: The `description` attribute
`tags`:: The `tags` attribute. The value is split into a list using `;` as a delimiter
npm package: @sixapart/mt-toolkit
Description: JavaScript components and TypeScript definitions for Movable Type development
Author: Six Apart Ltd.
Latest version: 1.0.0

# @sixapart/mt-toolkit

This package provides JavaScript components and TypeScript definitions for Movable Type development.

## Installation

```
npm install @sixapart/mt-toolkit@latest
```

## Usage

### Importing type definitions for global objects

Use `import` statements in your TypeScript files:

```ts
import "@sixapart/mt-toolkit";
location.href = window.CMSScriptURI; // redirect to dashboard
```

Or use `types` in `tsconfig.json`:

```json
{
  "compilerOptions": {
    "types": ["@sixapart/mt-toolkit"]
  }
}
```

Or use `typeRoots` in `tsconfig.json`:

```json
{
  "compilerOptions": {
    "typeRoots": ["node_modules/@sixapart"]
  }
}
```

### Svelte components for Content Types

```ts
import {
  ContentFieldOptionGroup,
  ContentFieldOption,
} from "@sixapart/mt-toolkit/contenttype";
import type {
  ConfigSettings,
  OptionsHtmlParams,
  Field,
} from "@sixapart/mt-toolkit/contenttype";
```

### License

MIT License

Copyright (c) Six Apart Ltd.

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: @sixcreative/eslint-config
Description: ESLint configuration used by Six Creative.
Latest version: 1.1.3

# Six Creative ESLint config

## Whats included?

- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;

## Setup

### React (with Next.js)

Install dependencies:
```
npm i -D eslint @sixcreative/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": [
    "@sixcreative/eslint-config/next", 
    "next/core-web-vitals"
  ]
}
```

### React (without Next.js)

Install dependencies:
```
npm i -D eslint @sixcreative/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": "@sixcreative/eslint-config/react"
}
```

### Node.js

Install dependencies:
```
npm i -D eslint @sixcreative/eslint-config
```
Inside `.eslintrc.json`
```
{
  "extends": "@sixcreative/eslint-config/node"
}
```
npm package: @sixergame/cashfree-sdk
Description: Sixergame's Cashfree Payment SDK
Author: sumit kolhe
Latest version: 0.0.8

# Sixer Cashfree Payment SDK

This is a custom payments SDK for cashfree meant to be used for @sixergame projects. It is a wrapper around the cashfree API, and is not a complete implementation of the API.

## Installation

```bash
npm install @sixergame/payments-sdk
```

## Usage

### Instantiate the SDK

```javascript
import { CashfreePaymentSDK } from '@sixergame/payments-sdk';

const cashfree = new Cashfree({
  env: 'TEST',
  clientKey: process.env.CASHFREE_PAYOUT_CLIENT_KEY_TEST,
  clientSecret: process.env.CASHFREE_PAYOUT_CLIENT_ID_TEST,
})
```

| Option            | Default                                                                                                      | Description                                                         |
| ----------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| `env`             | `TEST`                                                                                                       | Environment to be initialized. Can be set to `TEST` or `PRODUCTION` |
| `clientId`        | `` | `clientId` which can be generated on cashfree dashboard.                                                |
| `clientSecret`    | `` | `clientSecret` which can be found alongside generated `ClientId`.                                       |

> All functions return a promise and therefore can be used with async/await.

### Beneficiary

#### Create Beneficiary

```javascript
const beneficiary = await cashfree.beneficiary.addBeneficiary({
  beneId: 'GREEN0001',
  name: 'john doe',
  email: 'johndoe@cashfree.com',
  phone: '9876543210',
  bankAccount: '11111111222234',
  ifsc: 'HDFC0000001',
  address1: 'ABC Street',
  city: 'Bangalore',
  state: 'Karnataka',
  pincode: '560001',
})
```

#### Get Beneficiary

```javascript
const beneficiary = await cashfree.beneficiary.getBeneficiaryById('GREEN0001')
```

### Transfers

#### Create Sync Transfer

```javascript
const transfer = await cashfree.transfers.requestSyncTransfer({
  transferId: 'ASDFG32',
  amount: '100',
  beneId: 'BENE007',
})
```

#### Create Async Transfer

```javascript
const transfer = await cashfree.transfers.requestAsyncTransfer({
  transferId: 'ASDFG32',
  amount: '100',
  beneId: 'BENE007',
})
```

#### Get Transfer Status

```javascript
const transfer = await cashfree.transfers.getTransferStatus({
  transferId: 'ASDFG32',
  referenceId: 'REF3222',
})
```

> Only one of `transferId` or `referenceId` is required.
npm package: @sixfalls/discord-tsx-factory
Description: Write Discord.js component in tsx without React.
Author: Six
Latest version: 0.3.6

<a href="https://www.npmjs.com/package/discord-tsx-factory"><img src="https://img.shields.io/npm/v/discord-tsx-factory.svg?maxAge=3600" alt="npm version" /></a>

# About

Write Discord.js component in tsx.

`discord-tsx-factory` is compatible with `discord.js` version `14.15.0 - 14.16.0`. (See `peerDependencies`)

```tsx
import { createElement, Fragment, Client } from "discord-tsx-factory";
import * as Discord from "discord.js";

const client = new Client(...);

// Go to documents/EXAMPLES.md (visit GitHub) to check out example usages.
```

# Installation

Using npm

```bash
$ npm install --save discord.js@14.15.0 discord-tsx-factory
```

Using yarn

```bash
$ yarn add discord.js@14.15.0 discord-tsx-factory
```

You need to modify your tsconfig.json to use discord-tsx-factory:

```json
{
  "compilerOptions": {
    ...
    "jsx": "react",
    "jsxFactory": "createElement",
    "jsxFragmentFactory": "Fragment",
    ...
  },
  ...
}
```

# Example usage

Go to [EXAMPLES.md](https://github.com/lshqqytiger/discord-tsx-factory/blob/main/documents/EXAMPLES.md).

# Listening and Handling interactions

Go to [HANDLING_INTERACTIONS.md](https://github.com/lshqqytiger/discord-tsx-factory/blob/main/documents/HANDLING_INTERACTIONS.md).

## Command

`discord-tsx-commands` is now available on npmjs!

```tsx
import * as Discord from "discord.js";
import { createElement, Fragment } from "discord-tsx-factory";
import "discord-tsx-commands";
```

Check out [discord-tsx-commands on GitHub](https://github.com/lshqqytiger/discord-tsx-commands) for more information.

# Special Thanks

- [Lotinex](https://github.com/Lotinex)
- [Daldalso](https://discord.com/invite/F6Epqzyf) Discord Members

# License

MIT License

Copyright (c) 2022 이승훈
npm package: @sixfiftylabs/prettier
Description: SixFifty Prettier config
Author: SixFifty
Latest version: 1.0.5

## Usage

**Install**:

```bash
$ yarn add --dev @sixfiftylabs/prettier
```

**Edit `package.json`**:

```jsonc
{
  // ...
  "prettier": "@sixfiftylabs/prettier"
}
```

## Credit

Copied from [azz/prettier-config](https://github.com/azz/prettier-config).
npm package: @sixfold/editor-config
Description: # How to use Prettier
Author: dev@sixfold.com
Latest version: 4.0.0

# editor-config

# How to use Prettier

1. Install the config and prettier:

```
yarn add @sixfold/editor-config prettier -D
```

2. Add the following line in the target service's package.json:

```
"prettier": "@sixfold/editor-config/prettier"
```

3. Add the following scripts to your package.json

```
  "prettier": "prettier \"./src/**/**\"",
  "prettier:check": "yarn prettier --check",
  "prettier:fix": "yarn prettier --write",
```

4. Add a `.prettierignore` file at the source of the repository, containing at least the following:

```
package.json
.DS_Store
```

Make sure to include `.prettierignore` in your docker (test) if you check prettier formatting as part of the tests.

5. Configure your IDE to use `Prettier`:

- [VS Code](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [WebStorm](https://plugins.jetbrains.com/plugin/10456-prettier) (Should be installed by default, but you need to configure it.)

6. Add `yarn prettier:check` as part of the `test` or `build` script to ensure that code is consistently formatted

# Using prettier config with prettier APIs

When generating code programmatically, same configuration can be used to format generated output:

```typescript
import * as prettier from 'prettier';
import * as prettierConfig from '@sixfold/editor-config';

const source = 'function main(){console.log("Hello")};main()';

console.log(prettier.format(source, prettierConfig));
```
npm package: @sixfold/fast-postgres-date-parser
Description: faster implementation of postgres date parser
Author: Jaan Oras
Latest version: 0.0.6

# fast-postgres-date-parser

A drop in for 'postgres-date' package that is few times faster.

### Installation

`yarn install @sixfold/fast-postgres-date-parser`

### Usage

```ts
import { types } from 'pg';
import { parsePostgresTimestamp} from '@sixfold/fast-postgres-date-parser';

types.setTypeParser(types.builtins.TIMESTAMPTZ, parsePostgresTimestamp);
types.setTypeParser(types.builtins.TIMESTAMP, parsePostgresTimestamp);
```

### Benchmark

The project also contains a benchmark, you can run with `yarn benchmark`

Latest benchmark against postgres-date@2.0.0

```
  postgres-date:
    1 309 014 ops/s, ±0.88%   | slowest, 62.11% slower

  faster-date-parser:
    3 455 121 ops/s, ±2.20%   | fastest
```
npm package: @sixfold/ts-config
Description: Base for TypeScript project configuration
Author: Priit Haamer
Latest version: 5.0.0

Shared TypeScript configurations for sixfold.

## Usage

Install package with

```bash
yarn add --dev @sixfold/ts-config
```

## TypeScript

In `tsconfig.json` file extend from generic settings:

```json
{
  "extends": "@sixfold/ts-config/tsconfig-service.json"
}
```

When building for the browser, use `tsconfig-browser-compat.json` instead.


## How to publish

bump version:
```
npm run release
```
publish:
```
npm run publish-release
```
npm package: @sixfold/tslint-rules
Description: Install dependency
Latest version: 1.0.1

## Installation

Install dependency

```sh
yarn add --dev @sixfold/tslint-rules
```

Include it in `tsconfig.json` with

```json
{
  "extends": ["@sixfold/tslint-rules"],
  "rules": {
    "no-undefined-typeorm-field": true
  }
}
```
npm package: @sixgramwater/redux-lite
Description: A lightweight state management library for React
Author: sixgramwater
Latest version: 1.0.1

# redux-lite

> simple library for state management inspired by redux and react-redux

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

## Install

```bash
npm install --save @sixgramwater/redux-lite
```

## Usage

```tsx
// store/counter.ts
import { fetch } from "../api";

const counterState = {
  count: 0,
}

// A single module named: counter
const counter = {
  state: counterState,
  reducers: {
    addCounter({ state, payload }) {
      return {
        ...state,
        count: state.count + payload,
      }
    }
  },
  effects: {
    asyncAddCounter({dispatch, state, payload}) {
      fetch(1000).then(value => {
        dispatch.counter.addCounter(payload);
      })  
    }
  }
}

// setup modules and invoke create()
const modules = { counter };
export const { useModule, dispatch, useSelector } = create(modules);


// App.jsx
import { useModule, dispatch } from './store';

const App = () => {
  // const counterState = useModule('counter');
  // const count = counterState.count;
  const count = useSelector('counter', state => state.count);
  const handleClick = () => {
    dispatch.counter.addCounter(1);
  }

  const handleAsyncClick = () => {
    dispatch.counter.asyncAddCounter(1);
  }
  return (
    <div>
      {count}
      <button onClick={handleClick}>increase</button>
      <button onClick={handleAsyncClick}>Async increase</button>
      
    </div>
  )
}
```

## License

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

---

This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).
npm package: @sixhour/swagger2server
Description: [![GitHub Repo stars](https://img.shields.io/github/stars/chenshuai2144/openapi2typescript?style=social)](https://github.com/chenshuai2144/openapi2typescript) [![npm (scoped)](https://img.shields.io/npm/v/@umijs/openapi)](https://www.npmjs.com/package/@u
Author: chenshuai2144
Latest version: 2.0.7

## 介绍
[![GitHub Repo stars](https://img.shields.io/github/stars/chenshuai2144/openapi2typescript?style=social)](https://github.com/chenshuai2144/openapi2typescript)
[![npm (scoped)](https://img.shields.io/npm/v/@umijs/openapi)](https://www.npmjs.com/package/@umijs/openapi)
![GitHub tag (latest SemVer pre-release)](https://img.shields.io/github/v/tag/chenshuai2144/openapi2typescript?include_prereleases)

根据 [OpenApi3](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) 文档生成 request 请求代码。

如果你使用 [umi](https://umijs.org) ,你可以使用[@umijs/plugin-openapi](https://www.npmjs.com/package/@umijs/plugin-openapi) 插件。
## 使用
```node
npm i --save-dev @umijs/openapi
```
在项目根目录新建 ```openapi.config.ts```
```ts
const { generateService } = require('@umijs/openapi')

generateService({
  schemaPath: 'http://petstore.swagger.io/v2/swagger.json',
  serversPath: './servers',
})

```
在 ```package.json``` 的 ```script``` 中添加 api: ```"openapi": "ts-node openapi.config.ts",```

生成api
```node
npm run openapi
```
## 参数
|  属性   | 必填  | 备注 | 类型 | 默认值 |
|  ----  | ----  |  ----  |  ----  | - |
| requestLibPath  | 否 | 自定义请求方法路径 | string | - |
| requestImportStatement  | 否 | 自定义请求方法表达式 | string | - |
| apiPrefix  | 否 | api 的前缀 | string | - |
| serversPath  | 否 | 生成的文件夹的路径 | string | - |
| schemaPath  | 否 | Swagger 2.0 或 OpenAPI 3.0 的地址 | string | - |
| projectName  | 否 | 项目名称 | string | - |
| namespace  | 否 | 命名空间名称 | string | API |
| mockFolder  | 否 | mock目录 | string | - |
| enumStyle  | 否 | 枚举样式 | string-literal \| enum | string-literal |
| nullable | 否 | 使用null代替可选 | boolean | false |
npm package: @sixian/css-url
Description: handing css url keywords
Author: siluxianren
Latest version: 1.0.3

# css-url
postcss 插件 , 用与处理 css 中 url 加载 图片和字体问题 。

## 安装

```sh
yarn add @sixian/css-url -D
```

or

```sh
npm i @sixian/css-url -D
```

## 使用

```js
import { cssUrl } from '@sixian/css-url'
export default {
  plugins: [
    postcss({
        plugins: [
          cssUrl({
            imgOutput: 'dist/imgs',
            fontOutput: 'dist/font',
            cssOutput: 'dist/style'
          }),
        ],
        extract: path.resolve('dist/style/my-css.css')  
    })
  ]
}
```

运行结果

```css
@font-face {
　　font-family: "test";
　　src: url('./font/iconfont.ttf');
}

div {
    color : red;
    background : url(./testimg.png);
    font-family : "test";
}
```

转换为

```css
@font-face {
　　font-family: "test";
　　src: url('../font/iconfont.ttf');
}

div {
    color : red;
    background : url(../imgs/testimg.png);
    font-family : "test";
}
```

## 配置参数

### `imgOutput`

作用 : 图片生成路径

参数类型 : string  

### `fontOuput`

作用 : 字体生成路径

参数类型 : string  

### `cssOuput`

作用 :  由于无法直接获取 css 输出路径 , 导致 url 路径修改错误 。 您需要手动配置该选项 ，该选项请与你的 css 输出路径保持一致 。

参数类型 ： string 

### `imgExtensions`

作用 : 图片扩展名

参数类型 : RegExp

默认参数 ：/\.(png|jpg|jpeg|gif|svg)$/

### `fontExtensions`

作用 ：字体扩展名

参数类型 : RegExp

默认参数 ：/\.(ttf|woff|woff2|eot)$/

### `limit`

作用 ：限制文件大小 ，低于此数值的文件转换成 base64 编码嵌套在文件中 。

参数类型 : number 

默认参数 : 8192 

### `hash`

作用 ：文件名是否 hash 

参数类型 : boolean

默认参数 : false

### `slash`

作用 : url 路径前缀是否加上 ./ 

参数类型 : boolean

默认参数 : false



demo 

```js
import {cssUrl} from '@sixian/css-url'  
postcss({
        plugins: [
          cssUrl({
            imgOutput: 'dist/imgs',
            fontOutput: 'dist/font',
            cssOutput: 'dist/style',
            imgExtensions : /\.(png|jpg|jpeg|gif|svg)$/,
            fontExtensions : /\.(ttf|woff|woff2|eot)$/,
            limit : 8192,
            hash : false,
            slash : false
          }),
        ],
        extract: path.resolve('dist/style/my-css.css') 
    })
```

### v1.0.0新增功能 
使用 less/sass 等预处理器 @import 时，可导入 loader : importLoader 进行使用
dome 
```js
import {cssUrl,importLoader} from '@sixian/css-url'
postcss({
      plugins: [
        cssUrl({
          imgOutput: 'dist/imgs',
          fontOutput: 'dist/font',
          cssOutput: 'dist/style',
          imgExtensions : /\.(png|jpg|jpeg|gif|svg)$/,
          fontExtensions : /\.(ttf|woff|woff2|eot)$/,
          limit : 8192,
          hash : false,
          slash : false
        })
      ],
      use: ['less', 'import-url'],
      extract: path.resolve('dist/style/my-css.css'),
      loaders: [importLoader]
  }),


```



## License

MIT