UNPKG

native-fn

Version:
37 lines (30 loc) 957 B
# native-fn API Reference ![NPM](https://nodei.co/npm/native-fn.png?downloads=true&downloadRank=true&stars=true)<br> ![NPM Downloads](https://img.shields.io/npm/d18m/native-fn?style=flat&logo=npm&logoColor=%23CB3837&label=Download&color=%23CB3837&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fnative-fn) ![GitHub Repo stars](https://img.shields.io/github/stars/pjy0509/native-fn?style=flat&logo=github&logoColor=181717&label=Stars&color=181717&link=https%3A%2F%2Fgithub.com%2Fpjy0509%2Fnative-fn) ![Static Badge](https://img.shields.io/badge/Typescript-8A2BE2?logo=typescript&color=000000) ## Overview --- ## Install npm ```bash npm i native-fn ``` yarn ```bash yarn add native-fn ``` cdn ```html <script src='https://unpkg.com/native-fn'></script> ``` ## Interface ```typescript interface Native { Index: Index } interface Index { open: (options: AppOpenOptions, target?: WindowProxy) => Promise<AppOpenState>; messenger: Messenger; } ```