open-index/open-npm huggingface dataset:
npm package: @nstudio/nativescript-markdown-view
Description: A NativeScript view for displaying natively rendered Markdown.
Author: Florian Reifschneider
Latest version: 1.0.1

# @nstudio/nativescript-markdown-view

A NativeScript view for displaying natively rendered Markdown.

Uses [Markwon](https://github.com/noties/Markwon) on Android and [TSMarkdownParser](https://github.com/laptobbe/TSMarkdownParser) on iOS.

```javascript
npm install @nstudio/nativescript-markdown-view
```

If using vanilla core:

```xml
<!-- test-page.xml -->
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" xmlns:mv="@nstudio/nativescript-markdown-view">
    <StackLayout class="p-20">
        <mv:MarkdownView markdown="_This_ should be **bold**!" />
    </StackLayout>
</Page>
```

When using flavors, you can register the element for usage in your markup:

```ts
import { MarkdownView } from '@nstudio/nativescript-markdown-view'

// Angular
import { registerElement } from '@nativescript/angular'
registerElement('MarkdownView', () => MarkdownView)

// Solid
import { registerElement } from 'dominative';
registerElement('markdownview', MarkdownView);

// Svelte
import { registerNativeViewElement } from 'svelte-native/dom'
registerNativeViewElement('markdownview', () => MarkdownView);

// React
import { registerElement } from 'react-nativescript';
registerElement('markdownview', () => MarkdownView);

// Vue
import Vue from 'nativescript-vue'
Vue.registerElement('MarkdownView', () => MarkdownView)
```

Use `MarkdownView` anywhere.

```xml
<MarkdownView markdown="_This_ should be **bold**!" />
```

## API
    
| Property | Default | Description |
| --- | --- | --- |
| markdown | "" | The markdown to be rendered on screen |

## Credits

- Thank you to original author, [Florian Reifschneider](https://github.com/flore2003/nativescript-markdown-view)!
  
## License

Apache License Version 2.0
npm package: @nstudio/nativescript-onfido
Description: Onfido SDK for NativeScript
Author: nStudio
Latest version: 4.0.0

# Onfido SDK for NativeScript

* [Onfido Android](https://documentation.onfido.com/sdk/android/)
* [Onfido iOS](https://documentation.onfido.com/sdk/ios/)

```javascript
npm install @nstudio/nativescript-onfido
```

## Usage

```
import { OnfidoUtils, Onfido, OnfidoCaptureType } from '@nstudio/nativescript-onfido';

OnfidoUtils.init('<token>', '<app id>');

Onfido.debugMode = true;
Onfido.start({
    sdkToken: token,
    flowSteps: {
        welcome: true,
        captureDocument: {},
        captureFace: {
          type: OnfidoCaptureType.PHOTO,
        },
    },
}).then(data => {
    // onfido data
}).catch((error) => {
    // onfido data
});
```

## License

Apache License Version 2.0
npm package: @nstudio/nativescript-plaid
Description: Plaid SDK for NativeScript
Author: NativeScript
Latest version: 2.0.0

# @nstudio/nativescript-plaid

NativeScript plugin that opens the Plaid native sdk to log in to banking services.

```javascript
ns plugin add @nstudio/nativescript-plaid
```

## Usage

This plugin opens the Plaid Link flow, which walks the user through finding their institution and linking their bank account.
It opens the flow in a modal view, and returns metadata for events, on exit, and on success.

```TS

import { PlaidLink } from '@nstudio/nativescript-plaid';

export class YourClass {

  successPublicToken: string;

  constructor() {}

  open() {
    // first set an event listener for the events Plaid reports back.
    PlaidLink.setLinkEventListener((event) => {
      console.log('linkEventListener', event);
    });

    // create a handler and pass your link token. (https://plaid.com/docs/api/tokens/)
    const handler = PlaidLink.createHandler({
      token: 'YOURLINKTOKEN',
      onSuccess: (linkSuccess) => {
        console.log('linkSuccess', linkSuccess);
        this.set('successPublicToken', linkSuccess.publicToken)
      },
      onExit: (linkExit) => {
        console.log('linkExit', linkExit);
      }
    });
    handler.open();
  }
}

```

## Screenshot

![](https://github.com/nstudio/nativescript-plugins/raw/master/packages/nativescript-plaid/demo.gif)

## API

- **setLinkEventListener()** - Listens to events created by the flow.
- **createHandler()** - Creates a handler with a config including token, onSuccess and onExit functions.
- **handler.open(config: PlaidLinkConfig)** - Opens the flow in a modal. When user exits or successfully links an account, the modal closes.

### Contributors

- Dave Coffin [@davecoffin](https://twitter.com/davecoffin)
- Osei Fortune [@triniwiz](https://twitter.com/triniwiz)

## License

Apache License Version 2.0