open-index/open-npm huggingface dataset:
npm package: @jevko-org/jevko.js
Description: Implementation of Jevko in JavaScript.
Author: Darius J Chuck
Latest version: 0.2.1

<img alt="Jevko logo" src="logo.svg" width="128" />

# jevko.js

[![](https://data.jsdelivr.com/v1/package/gh/jevko/jevko.js/badge)](https://www.jsdelivr.com/package/gh/jevko/jevko.js)

Implementation of [Jevko](https://jevko.org) in JavaScript.

Includes a Jevko parser/decoder (`jevkoFromString`) and a Jevko stringifier/encoder (`jevkoToString`).

<!-- as well as fns that can escape, stringtoheredoc -->
<!-- supports the heredoc grammar extension -->

## Installation

### Node.js

An [npm package](https://www.npmjs.com/package/@jevko-org/jevko.js) is available:

```
npm install @jevko-org/jevko.js
```

### Deno and the browser

Import from [jsDelivr](https://www.jsdelivr.com/):

```js
import {jevkoFromString} from 'https://cdn.jsdelivr.net/gh/jevko/jevko.js@v0.2.0/mod.js'
```

## Quickstart

```js
import {jevkoFromString} from 'https://cdn.jsdelivr.net/gh/jevko/jevko.js@v0.2.0/mod.js'

jevkoFromString(`hello [world]`) 
// -> {
//   "subjevkos": [
//     {
//       "prefix": "hello ",
//       "jevko": {
//         "subjevkos": [],
//         "suffix": "world"
//       }
//     }
//   ],
//   "suffix": ""
// }
```

## License

[MIT](LICENSE)
npm package: @jewel998/mock-location
Description: Detect Mock Location in an Capacitor Application
Author: Jewel Barman
Latest version: 0.0.16

# @jewel998/mock-location

Detect Mock Location in an Capacitor Application

## Install

```bash
npm install @jewel998/mock-location
npx cap sync
```

Add this to your app Manifest.xml

```xml
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
```
or,

```xml
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
    tools:ignore="QueryAllPackagesPermission" />
```

## API

<docgen-index>

* [`isMockLocation(...)`](#ismocklocation)
* [`isDevOptionsEnabled()`](#isdevoptionsenabled)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### isMockLocation(...)

```typescript
isMockLocation(options: { whitelist: string[]; }) => Promise<{ isEnabled: boolean; packages?: string[]; }>
```

| Param         | Type                                  |
| ------------- | ------------------------------------- |
| **`options`** | <code>{ whitelist: string[]; }</code> |

**Returns:** <code>Promise&lt;{ isEnabled: boolean; packages?: string[]; }&gt;</code>

--------------------


### isDevOptionsEnabled()

```typescript
isDevOptionsEnabled() => Promise<{ isEnabled: boolean; }>
```

**Returns:** <code>Promise&lt;{ isEnabled: boolean; }&gt;</code>

--------------------

</docgen-api>