open-index/open-npm huggingface dataset:
npm package: @sz.frankyy/__ajax
Description: simple ajax library
Author: Szymon Frankowski
Latest version: 1.0.1

# __ajax

Simple ajax library. It do not require any additional dependencies. Three types of the library are provided:
    - regular js function
    - [require.js](https://requirejs.org/) module
    - supporting internet explorer  >= 8 (tested under [wine](https://www.winehq.org/))


### Installation
#### The first version (usual javaScript file)
Just put 
```html
<script type="text/javascript src="__ajax.js"></script>
```
in your head section or at the bottom of your html file.
#### The second one (Require.js module) 

Complete your main.js file
```javascript
requirejs.config({
    ...
    paths: {
    ...
        __ajax: ['classes/__ajax.require.module'] // path to the file
    ...
    }
    ...
});
```
Details can be found on [require.js](https://requirejs.org/).
### Application

An application of the library looks as follows:
```javascript
    let ajax=new __ajax('[someUrl]',{method: '[some method]'});
    ajax.setParameters([object of parameters]);
    ajax.get().then((data)=>{
        [do something with data]
    },(err)=>{})
```
For example:
```javascript
    let creditCountsNr=[];
    let ajax=new __ajax('mywebpage.php',{method: 'post'});
    ajax.setParameters({name: 'John',surname: 'Malkovich'});
    ajax.get().then((data)=>{
        creditCountsNr.push(data);
    },(err)=>{})
```
### API of __ajax

```javascript
    ajax.setParameters([obj])
```
where ```[obj]``` is js object consisting of parameters (post or get)
sending with query.

```javascript
    ajax.addParameters([obj])
```
adds (with overwriting) parameters to the existing object.

```javascript
    [obj] ajax.getParameters()
```
returns the current parameters of __ajax object.

```javascript
    ajax.setMethod([string])
```
returns the current parameters of __ajax object.

```javascript
    [obj] ajax.getParameters()
```
returns the current parameters of __ajax object.


```javascript
    [Promise] ajax.get()
```
Returns the promise of the query.
```javascript
    [Promise].then([function],[function])
```
handles the the resolving and the rejection of promise.

### The note on ie version
This js file does not use the Promises, so it can work even under internet explorer (>=8).
However, due to the above fact its usage differs than in the versions above.

```javascript
    var persons = new __ajax('data/persons.json');
	persons.get(function(data){
		console.log(JSON.parse(data));
		///do something with the fetched data
	});
```
npm package: @szacskesz/as-loader
Description: AssemblyScript loader for webpack
Author: Szacsuri Norbert
Latest version: 0.27.6-RC-4

<div align="center">
  <img width="100" height="100" src="public/media/assemblyscript-logo.svg" alt="AssemblyScript logo">
  <img width="100" height="100" src="public/media/webpack-logo.svg" alt="webpack logo">

  <h1>as-loader</h1>
  <p>AssemblyScript loader for webpack</p>

  [![npm version](https://img.shields.io/npm/v/as-loader.svg)](https://www.npmjs.com/package/@szacskesz/as-loader)
</div>

## Installation

This loader requires [AssemblyScript >= 0.27.1](https://github.com/AssemblyScript/assemblyscript), 
Node.js >= 12 and [webpack 5](https://github.com/webpack/webpack)

```sh
# Install as an alias
npm install as-loader@npm:@szacskesz/as-loader
npm install --save-dev assemblyscript
```

The minimal `webpack.config.js`:

```js
module.exports = {
  entry: "src/index.ts",
  resolve: {
    extensions: [".ts", ".js"],
  },
  module: {
    rules: [
      {
        // Can use any pattern if it ends with ".ts" or ".tsx"
        test: /\.asc\.ts?$/,
        loader: "as-loader",
        options: {
          // Other assemblyscript compiler options...
        },
      },
      // If you use typescript files too
      {
        test: /\.ts$/,
        exclude: [/\.asc\.ts?$/],
        loader: "ts-loader",
      },
    ],
  },
};
```

## Usage

By default, the loader emits a `.wasm` file (+ `.wasm.map` if source maps are enabled) and creates a CommonJS module that exports the URL to the emitted `.wasm` file and the raw bindings's `instantiate` function.

To simplify loading logic, you can use the `instantiateModule` function from `as-loader/dist/runtime`.

```typescript
import * as assemblyModule from "./assembly/add.asc";
import { instantiateModule } from "as-loader/dist/runtime";


instantiateModule(assemblyModule).then(({ add, addMyObjs }) => {
  console.warn("add(1, 7) = " + add(1, 7));
});
```

### Example repository

https://stackblitz.com/edit/webpack-webpack-js-org-waje4g

https://github.com/szacskesz/webpack-assemblyscript-loader-example

### Example repository with angular

https://github.com/szacskesz/angular-assemblyscript-loader-example

## License

MIT
npm package: @szacskesz/strip-json-comments
Description: Strip comments from JSON. Lets you use comments in your JSON files!
Author: Szacsuri Norbert
Latest version: 5.0.2

# strip-json-comments

> Strip comments from JSON. Lets you use comments in your JSON files!

This is now possible:

```js
{
	// Rainbows
	"unicorn": /* ❤ */ "cake"
}
```

It will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allows JSON error positions to remain as close as possible to the original source.

Also available as a [Gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[Grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[Broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin.

## Install

```sh
npm install strip-json-comments
```

## Usage

```js
import stripJsonComments from 'strip-json-comments';

const json = `{
	// Rainbows
	"unicorn": /* ❤ */ "cake"
}`;

JSON.parse(stripJsonComments(json));
//=> {unicorn: 'cake'}
```

## API

### stripJsonComments(jsonString, options?)

#### jsonString

Type: `string`

Accepts a string with JSON and returns a string without comments.

#### options

Type: `object`

##### trailingCommas

Type: `boolean`\
Default: `false`

Strip trailing commas in addition to comments.

##### whitespace

Type: `boolean`\
Default: `true`

Replace comments and trailing commas with whitespace instead of stripping them entirely.

## Benchmark

```sh
npm run bench
```

## Related

- [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module
- [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS
npm package: @szaranger/react-hooks-lib
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Author: Sean Amarasinghe
Latest version: 0.2.4

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
npm package: @szczepano/parcel-resolver-jison
Description: Sample config file ```json {   "extends": "@parcel/config-default",   "transformers": {     "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"],     "*.jison": ["@szczepano/parcel-transformer-jison", "..."]   },   "resolvers": ["...", "@szczepano/parcel-
Author: Michal Szczepanski
Latest version: 0.0.4

# parcel-resolver-jison

Sample config file
```json
{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"],
    "*.jison": ["@szczepano/parcel-transformer-jison", "..."]
  },
  "resolvers": ["...", "@szczepano/parcel-resolver-jison"]
}
```
npm package: @szczepano/parcel-transformer-jison
Description: Sample config file ```json {   "extends": "@parcel/config-default",   "transformers": {     "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"],     "*.jison": ["@szczepano/parcel-transformer-jison", "..."]   },   "resolvers": ["...", "@szczepano/parcel-
Author: Michal Szczepanski
Latest version: 0.0.4

# parcel-transformer-jison

Sample config file
```json
{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"],
    "*.jison": ["@szczepano/parcel-transformer-jison", "..."]
  },
  "resolvers": ["...", "@szczepano/parcel-resolver-jison"]
}
```
npm package: @szczepanski/aws-mfa-profile
Description: Tool for creating AWS Profile with MFA
Author: Filip Szczepanski
Latest version: 0.0.2

# AWS MFA Profile Creator

#### What?

CLI Tool for creating a profile based on AWS STS Session Token

```bash
aws sts get-session-token ....
```

#### Why?

AWS CLI can not do that.

## Installation

Install my-project with npm

```bash
npm install --global @szczepanski/aws-mfa-profile
```

## Usage/Examples

```bash
aws-mfa-profile
# Enter AWS profile name "default"
# Enter AWS MFA profile name "default-mfa"
# Enter MFA token "1234"
```

## Requirements

- AWS CLI (version 2)
- Node.js
npm package: @szdh/dh-ui
Description: dh-ui
Author: yoki
Latest version: 0.2.1

# @szdh/dh-ui

[![standard-readme compliant](https://camo.githubusercontent.com/f116695412df39ab3c98d8291befdb93af123f56aecc79fff4b20c410a5b54c7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726561646d652532307374796c652d7374616e646172642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/RichardLitt/standard-readme)

## 关于

@szdh 下面的UI库，整合了theme-chalk和components，可以按需引入也可以全局引入。

### 环境

- [Vue3](https://www.javascriptc.com/vue3js/guide/introduction.html)
- [TypeScript](https://less.bootcss.com/)

| environment | version |
| ----------- | ------- |
| Gulp        | 4.x     |

## 目录
```bash

├─index.ts // 所有在 packages/components 定义的组件都要再此文 件统一导出并暴露
```

## 安装

```
npm i @szdh/dh-ui
or
yarn add @szdh/dh-ui
```

## 使用

```js
// 全局导入
// 在main.js里面引入
import DhUi from '@szdh/dh-ui'

app.use(DhUi)
```

```js

// 按需引入
import {DhIcon} from '@szdh/dh-ui'

components:{
    DhIcon
}
```
```js

// 引入css
import '@szdh/dh-ui/dist/theme-chalk/css/index.css'
```
npm package: @szdh/utils
Description: utils
Author: yoki
Latest version: 0.2.0

# @szdh/utils

[![standard-readme compliant](https://camo.githubusercontent.com/f116695412df39ab3c98d8291befdb93af123f56aecc79fff4b20c410a5b54c7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f726561646d652532307374796c652d7374616e646172642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/RichardLitt/standard-readme)

## 关于

@szdh下面的工具库包。



### 环境

* [Gulp](https://www.gulpjs.com.cn/docs/getting-started/quick-start/)
* [TypeScript](https://typescript.bootcss.com/)


| environment | version   |
| ----------- | --------- |
| Gulp      | 4.x |
| TypeScript     |   4.x        |



## 安装
```
npm i @szdh/utils
or
yarn add @szdh/utils
```

## 使用
```js
import { isObject } from '@szdh/utils'

const flag = isObject({ test: 'test utils' }) // true
```