open-index/open-npm huggingface dataset:
npm package: @powerjson/powerjson
Description: Powerjson is json's improved data format.
Author: Bill Dong
Latest version: 1.0.0-alpha

<div align='center'>
<img src='https://powerjson.github.io/PowerJSON-Website-CN/logo-noopa.jpeg' height='200px'>

<h1>PowerJSON</h1>

:clap: Powerjson is json's improved data format that takes advantage of JSON and JavaScript syntax and adds many new features to solve some of JSON's long-standing problems.

It supports **single quoted strings**, **multi-line strings**, **comments**, **operators**, **import files**, **import PJSON files**, and more.
</div>

### Simple Demo
```javascript
{
    // strings
    helloText: 'hello world',
    MultiLineText: `
        Welcome
        to
        PowerJSON!
    `,

    // file and import
    myFile: new File('./file.txt'),
    importPJSONFile: new PJSON('./index2.pjson'),
    getFile: new GET('http://www.powerjson.org'),

    // operator
    tenDaySeconds: 60 * 60 * 24 * 10

    // here is the comment!
    /* comment2 */
}
```

### Compatibility
PowerJSON supports all **browsers / js runtime** that support [ES6](https://caniuse.com/#feat=es6).

**Browser:**
- IE >= 11
- Edge All
- Firefox >= 6
- Chrome >= 21
- Safari >= 7.1
- Opera >= 15

**Node.js:**
- Nodejs >= 6

### Documentation
To check out live examples and [docs](http://www.powerjson.org/), visit [powerjson.org](http://www.powerjson.org).

### Changelog
Detailed changes for each release are documented in the [release notes](https://github.com/PowerJSON/PowerJSON/releases).

### License
[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2019-present, Yingxuan (Bill) Dong
npm package: @powerkernel/eslint-config
Description: Shareable ESLint Config
Author: Harry Tang
Latest version: 1.0.0

# eslint-config

Shareable ESLint Config

## Usage

**Install**:

```bash
npm install -D eslint eslint-config-prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser
```

**Edit `.eslintrc.js`**:

```jsonc
{
  "extends": "@powerkernel"
}
```
npm package: @powerkernel/feathers-aws-sns
Description: Feathers AWS SNS service
Author: Harry Tang
Latest version: 2.0.32

# feathers-aws-sns

> Feathers AWS SNS service

## Installation

```
npm install @powerkernel/feathers-aws-sns --save
```

## Documentation

Feathers plugin to use Amazon Simple Notification Service (SNS) 

## Available Services
The following services are supported and map to the appropriate SNS resource:
`Publish`
`Topics`
`Subscriptions`

**This is pretty important!** Since this connects to your AWS account you want to make sure that you don't expose these endpoints via your app unless the user has the appropriate permissions. You can prevent any external access by doing this:
```js
const { Forbidden } = require('@feathersjs/errors');

app.service('/sns/publish').before({
  all: [
    context => {
      if(context.params.provider) {
        throw new Forbidden('You are not allowed to access this');
      }
    }
  ]
});

```


## Complete Example

Here's an example of a Feathers server that uses `feathers-aws-sns` to send SMS direct to a phone number. 

```js
const feathers = require('@feathersjs/feathers');
const {Publish} = require('@powerkernel/feathers-aws-sns');

// Initialize the application
const app = feathers();

// Initialize the service
const service = new Publish({
    region: 'us-east-1',
    accessKey: 'your_aws_access_key',
    secretKey: 'your_aws_access_secret_key'
  });
app.use('/sns/publish', service);

// Send an SMS
result = await app.service('sns/publish').create({
    PhoneNumber: "+13305555555",
    Message: 'Hello World'
  });
```

## License

Copyright (c) 2020 Power Kernel

Licensed under the [MIT license](LICENSE).
npm package: @powerkernel/prettier-config
Description: Power Kernel Prettier config
Author: Harry Tang
Latest version: 1.0.3

# `@powerkernel/prettier-config`

> Power Kernel [Prettier](https://prettier.io) config.

## Usage

**Install**:

```bash
npm install --save-dev prettier @powerkernel/prettier-config
```

**Edit `.prettierrc.js`**:

```jsonc
module.exports = {
  ...require("@powerkernel/prettier-config"),
}

```
npm package: @powerkernel/sls-utils
Description: Power Kernel utils for serverlesss
Author: Harry Tang
Latest version: 1.1.1

# sls-utils

[![Maintainability](https://api.codeclimate.com/v1/badges/7f7ce6f918e9fba52b69/maintainability)](https://codeclimate.com/github/powerkernel/sls-utils/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/7f7ce6f918e9fba52b69/test_coverage)](https://codeclimate.com/github/powerkernel/sls-utils/test_coverage)
[![Build Status](https://travis-ci.com/powerkernel/sls-utils.svg?branch=master)](https://travis-ci.com/powerkernel/sls-utils)
[![Dependency Status](https://img.shields.io/david/powerkernel/sls-utils.svg?style=flat-square)](https://david-dm.org/powerkernel/sls-utils)
[![Download Status](https://img.shields.io/npm/dm/@powerkernel/sls-utils.svg?style=flat-square)](https://www.npmjs.com/package/@powerkernel/sls-utils)

> Power Kernel utils for serverless

## Installation

```
npm install @powerkernel/sls-utils --save
```

## Documentation

Common utils to use with serverless framework

## Available utils

The following utils are svailable:
`response`

Auto add headers

```js
headers: {
    'Access-Control-Allow-Origin': '*',
    'Access-Control-Allow-Credentials': true,
}
```

Success response

```js
response.success = ({ headers = {}, code = 200, data = {} });
```

Failure response

```js
response.failure = ({ headers = {}, code = 500, error = {} });
```

## Complete Example

Here's an example of a serverless function that uses `response` to output the response.

```js
import { response } from "@powerkernel/sls-utils";

import uuid from "uuid";
import * as dynamoDbLib from "./libs/dynamodb-lib";

export async function main(event, context) {
  const data = JSON.parse(event.body);
  const params = {
    TableName: process.env.tableName,
    Item: {
      userId: event.requestContext.identity.cognitoIdentityId,
      noteId: uuid.v1(),
      content: data.content,
      attachment: data.attachment,
      createdAt: Date.now()
    }
  };

  try {
    await dynamoDbLib.call("put", params);
    return response.success({ data: params.Item});
  } catch (e) {
    return response.failure({ error: { message: "Something went wrong." }});
  }
```

## License

Copyright (c) 2020 Power Kernel

Licensed under the [MIT license](LICENSE).
npm package: @powerkernel/tsconfig
Description: Shared TypeScript config
Author: Sindre Sorhus
Latest version: 1.0.0

# tsconfig

> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects

## Install

```sh
npm install -D @powerkernel/tsconfig
```

_This config requires TypeScript 4.7 or later._

## Usage

`tsconfig.json`

```json
{
  "extends": "@powerkernel/tsconfig",
  "compilerOptions": {
    "outDir": "dist"
  }
}
```

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as `target`:

```json
{
  "extends": "@powerkernel/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "target": "ES2021"
  }
}
```
npm package: @powerkraut/gutenberg
Description: Basic WordPress Gutenberg styling
Author: PowerKraut
Latest version: 1.1.7

# Gutenberg
Basic WordPress Gutenberg styling

## Install
Install with npm:
```javascript
$ npm i @powerkraut/gutenberg
```

Import gutenberg:
```
@import "../../node_modules/@powerkraut/gutenberg/src/gutenberg";
```
Import individual modules:
```
@import "../../node_modules/@powerkraut/gutenberg/src/globals";
@import "../../node_modules/@powerkraut/gutenberg/src/base/pullquote";
@import "../../node_modules/@powerkraut/gutenberg/src/base/separator";
@import "../../node_modules/@powerkraut/gutenberg/src/base/elements";
@import "../../node_modules/@powerkraut/gutenberg/src/base/block-group";
@import "../../node_modules/@powerkraut/gutenberg/src/base/block-gallery";
```
npm package: @powerkraut/summarize
Description: Summarize content with the ability to toggle visibility, the vanilla way.
Author: PowerKraut
Latest version: 2.1.0

# Summarize
Summarize content with the ability to toggle visibility, the vanilla way.

## Install
Install with Yarn:
```javascript
$ yarn add @powerkraut/summarize
```

Import module:
```javascript
import summarize from '@powerkraut/summarize';
```

Summarize with defaults:
```javascript
summarize();
```

## Settings
Summarize with settings:

Option | Type | Default
------ | ---- | -------
debug | boolean | false
defaultStyles |  boolean | true
parentSelector |  String | '.js-summarize'
contentSelector |  String | '[data-summarize-height], [data-summarize-overlap]'
toggleSelector |  String | '[data-summarize-more], [data-summarize-less]'
toggleTextSelector |  String | '[data-summarize-more], [data-summarize-less]'

```javascript
summarize({
    debug: false,
    defaultStyles: true,
    parentSelector: '.js-summarize',
    contentSelector: 'div',
    toggleSelector: 'button',
    toggleTextSelector: 'button span'
});
```

## Usage
Setup the correct markup with data attributes:

Attribute | Type | Description
--------- | ---- | -----------
height | Number | Maximum height for the summary.
overlap |  Number | Minimum overlap before the content gets summarized.
more |  String | Button text for when content is hidden.
less |  String | Button text for when content is visible.

Use the following code example to get you started:
```html
<article class="js-summarize">
    <div data-summarize-height="200" data-summarize-overlap="80">
         <p>Lorem ipsum...</p>
    </div>
    <button data-summarize-more="Show more" data-summarize-less="Show less">
         <span>Show more</span>
         <i class="fa fa-angle-down"></i>
    </button>
</article>
```
npm package: @powerm1nt/xmcl-core
Description: Minecraft version parsing and game launching.
Author: cijhn@hotmail.com
Latest version: 2.11.4

# Launcher Core Module

[![npm version](https://img.shields.io/npm/v/@powerm1nt/xmcl-core.svg)](https://www.npmjs.com/package/@powerm1nt/xmcl-core)
[![Downloads](https://img.shields.io/npm/dm/@powerm1nt/xmcl-core.svg)](https://npmjs.com/@powerm1nt/xmcl-core)
[![Install size](https://packagephobia.now.sh/badge?p=@powerm1nt/xmcl-core)](https://packagephobia.now.sh/result?p=@powerm1nt/xmcl-core)
[![npm](https://img.shields.io/npm/l/@xmcl/minecraft-launcher-core.svg)](https://github.com/voxelum/minecraft-launcher-core-node/blob/master/LICENSE)
[![Build Status](https://github.com/voxelum/minecraft-launcher-core-node/workflows/Build/badge.svg)](https://github.com/Voxelum/minecraft-launcher-core-node/actions?query=workflow%3ABuild)

Provide the core function to parse Minecraft version and launch.

## Usage

### Parse Version JSON 

Parse minecraft version as a resolved version, which is used for launching process. You can also read version info from it if you want.

```ts
import { Version } from "@powerm1nt/xmcl-core";
const minecraftLocation: string;
const minecraftVersionId: string;

const resolvedVersion: ResolvedVersion = await Version.parse(minecraftLocation, minecraftVersionId);
```

### Diagnose

Get the report of the version. It can check if version missing assets/libraries.

```ts
import { MinecraftLocation, diagnose, ResolvedVersion } from "@powerm1nt/xmcl-core";

const minecraft: MinecraftLocation;
const version: string; // version string like 1.13
const resolvedVersion: ResolvedVersion = await Version.parse(minecraft, version);

const report: MinecraftIssueReport = await diagnose(resolvedVersion.id, resolvedVersion.minecraftDirectory);

const issues: MinecraftIssues[] = report.issues;

for (let issue of issues) {
    switch (issue.role) {
        case "minecraftJar": // your jar has problem
        case "versionJson": // your json has problem
        case "library": // your lib might be missing or corrupted
        case "assets": // some assets are missing or corrupted
        // and so on
    }
}
```


### Launch Game

Launch minecraft from a version:

```ts
import { launch } from "@powerm1nt/xmcl-core"
const version: string; // full version id, like 1.13, or your forge version like, 1.13-forge-<someForgeVersion>
const javaPath: string; // java executable path
const gamePath: string; // .minecraft path
const proc: Promise<ChildProcess> = launch({ gamePath, javaPath, version });
```

Detach from the parent process. So your launcher's exit/crash won't affact the Minecraft running.

```ts
const proc: Promise<ChildProcess> = Launcher.launch({ gamePath, javaPath, version, extraExecOption: { detached: true } });
```
npm package: @powerm1nt/xmcl-unzip
Description: A (hopefully) easy unzip interface based on yauzl
Author: cijhn@hotmail.com
Latest version: 2.1.3

# Unzip Module

[![npm version](https://img.shields.io/npm/v/@powerm1nt/xmcl-unzip.svg)](https://www.npmjs.com/package/@powerm1nt/xmcl-unzip)
[![Downloads](https://img.shields.io/npm/dm/@powerm1nt/xmcl-unzip.svg)](https://npmjs.com/@powerm1nt/xmcl-unzip)
[![Install size](https://packagephobia.now.sh/badge?p=@powerm1nt/xmcl-unzip)](https://packagephobia.now.sh/result?p=@powerm1nt/xmcl-unzip)
[![npm](https://img.shields.io/npm/l/@xmcl/minecraft-launcher-core.svg)](https://github.com/voxelum/minecraft-launcher-core-node/blob/master/LICENSE)
[![Build Status](https://github.com/voxelum/minecraft-launcher-core-node/workflows/Build/badge.svg)](https://github.com/Voxelum/minecraft-launcher-core-node/actions?query=workflow%3ABuild)

A simple Unzipper wrapper for yauzl in nodejs.

Support `Promise` and nodejs `Stream`.

## Who might care this package

The people

1. who use nodejs 
2. who want a unzip only interface
3. who think yauzl is good but its API is hard to use

might want to look at this.

## Where is the document

Since this is majorly used in its [parent project](https://github.com/voxelum/minecraft-launcher-core-node). You can
npm package: @poweron-sistemas/ngx-whatsabi
Description: Whatsabi es un sistema de WhatsApp Web NO oficial creado para agregarle más funcionalidad, multicuenta y demás herramientas.
Author: PowerOn Sistemas
Latest version: 1.2.5

# Sobre Whatsabi

Whatsabi es una poderosa herramienta de ingeniería inversa del WhatsApp Web convencional, No es una aplicación oficial de WhatsApp. 

Fue creada por PowerOn Sistemas con la idea de agregarle funcionalidad al WhatsApp Web original y asi poder optimizar mensajes automáticos y respuestas programadas.

## Más Información

https://www.poweronsistemas.com.ar/whatsabi

## Documentación

En desarrollo, ¿Te gustaría colaborar?, escribime https://wa.me/5491133509980