open-index/open-npm huggingface dataset:
npm package: @jojoee/is-darkmode
Description: Is macOS using Dark appearance
Author: Nathachai Thongniran
Latest version: 1.0.1

# is-darkmode

[![Travis](https://img.shields.io/travis/jojoee/is-darkmode.svg)](https://travis-ci.org/jojoee/is-darkmode)
[![GitHub issues](https://img.shields.io/github/issues/jojoee/is-darkmode)](https://github.com/jojoee/is-darkmode/issues)
[![GitHub license](https://img.shields.io/github/license/jojoee/is-darkmode)](https://github.com/jojoee/is-darkmode/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/jojoee/is-darkmode.svg)](https://github.com/jojoee/is-darkmode/releases)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)

Is macOS using Dark appearance, see [demo page](https://jojoee.github.io/is-darkmode/index.html).

![Demo](https://i.imgur.com/YTpeUPP.gif)

## Installation
```
// via githack
<script src="https://rawcdn.githack.com/jojoee/is-darkmode/v1.0.0/index.js"></script>

// via Bower
bower install jojoee/is-darkmode --save
<script src="./bower_components/is-darkmode/index.js"></script>

// via CommonJS
npm install @jojoee/is-darkmode --save
const { isDarkMode, onDarkModeChange } = require('@jojoee/is-darkmode')

// via ES6
import { isDarkMode, onDarkModeChange } from "@jojoee/is-darkmode"
```

## Usage
```javascript
isDarkMode() // returns Boolean

onDarkModeChange(function (isDark) {
  console.log('isDark', isDark)
})
```
npm package: @jojoee/nestjs-rate-limiter
Description: Highly configurable rate limiter library
Author: Nathachai Thongniran
Latest version: 2.7.9

# nestjs-rate-limiter

[Rate Limiter Module for NestJS](https://github.com/ozkanonur/nestjs-rate-limiter) with modifications
- add `enable` flag option to enable or disable the feature
- apply rate limit on only GraphQL request and disable to other types of request
- using IP from `request.ip` or `request.headers['X-Forwarded-For']`
- not support `Fastify` platform
npm package: @jojopr/miniajax
Description: A small JS Library for AJAX
Author: Johannes Przymusinski
Latest version: 0.1.3

## miniAJAX JavaScript library
miniAJAX is a small JavaScript library for AJAX Request

# How to use
```javascript
AJAX.GET('url', {
    '200': function(data) {
        // Called on HTTP 200, data = XMLHttpRequest.ResponseText
    },
    '404': function(data) {
        // Called on HTTP 404, data = XMLHttpRequest.ResponseText
    }
})
```

The ```AJAX.GET(url, callbacks = {})``` takes a url for the request and an object, holding callback functions, stored by key = HTTP Status Code and value = function(data)

# install
```npm i @jojopr/miniAJAX```
```html
<script src="node_modules/@jojopr/miniajax/dist/miniAJAX.min.js"></script>
```

# TODO:
* [ ] Add Support for POST Requests
npm package: @jojopr/tsconfig
Description: global typescript config for my projects
Author: Johannes Przymusinski
Latest version: 0.0.1

# tsconfig
<h2>
	<center>global typescript config for my projects</center>
</h2>

## Install
```bash
$ npm install --save-dev @jojopr/tsconfig
```

## Usage
```tsconfig.json```
```json
{
    "extends": "@jojopr/tsconfig",
    "compilerOptions": {
        // ...
    }
}
```

## License
This Config-Package is released unter the terms of the [MIT-LICENSE](https://choosealicense.com/licenses/mit/) for more information, see the [LICENSE](https://github.com/cngJo/tsconfig/blob/master/LICENSE) file.
npm package: @jojovembh/cognito-cli-helper
Description: A CLI to easily test AWS Cognito user functionalities.
Author: Gustavo Andrade Ferreira
Latest version: 1.2.1

# @jojovembh/cognito-cli-helper

**A CLI to easily test AWS Cognito user functionalities.**

## Features

- Configure AWS Cognito credentials (`configure`)
- Create users with temporary passwords (`create-user`)
- Login with SRP challenge support (`login`)
- Delete users (`delete-user`)
- Logout / revoke access tokens (`invalidate-token`)

## Installation

```bash
  npm install -g @jojovembh/cognito-cli-helper
```

## Configuration

```bash
  cognito-cli configure
```

Enter region, userPoolId, clientId, and optionally awsProfile.

The file will be created on:`~/.config/cognito-cli-helper/config.json`

## Usage

```bash
  cognito-cli create-user user@example.com [temporaryPassword]
  cognito-cli login user@example.com
  cognito-cli delete-user user@example.com
  cognito-cli invalidate-token <accessToken>
```

## Contributing

1. Clone repo:

```bash
  git clone https://github.com/jojovem/cognito-cli-helper.git
  cd cognito-cli-helper
```

2. Install dependencies:

```bash
  npm install
```

3. Run tests:

```bash
  npm test
```

3. Build:

```bash
  npm run build
```

## License
MIT © Gustavo Andrade Ferreira