Skip to content

Library that collects the tools need for webview

Notifications You must be signed in to change notification settings

minai621/webviewkit

Repository files navigation

WebViewKit

WebViewKit is a comprehensive suite of TypeScript libraries designed to enhance and simplify the development of WebView-based applications. Our goal is to provide developers with powerful tools for detection, analysis, optimization, and communication bridging in WebView environments.

Packages

WebViewKit currently consists of the following packages:

A lightweight TypeScript library for detecting and analyzing user environments, particularly useful for identifying WebView environments.

npm version

Key Features:

  • Accurate detection of operating systems, browsers, and device types
  • Specialized WebView detection
  • TypeScript support with comprehensive type definitions
  • Easy-to-use API for retrieving environment information

Learn more about @webviewkit/environment

A flexible and type-safe TypeScript library for facilitating communication between WebView and native platforms in hybrid mobile applications.

npm version

Key Features:

  • Type-safe communication between WebView and native platforms
  • Intelligent version-aware API handling
  • Support for iOS, Android, and React Native
  • Customizable error handling
  • Automatic selection of the most appropriate handler based on semantic versioning

Learn more about @webviewkit/bridge

An automatic documentation generator for WebView bridge interfaces, designed to work seamlessly with @webviewkit/bridge.

Key Features:

  • Automatic generation of API documentation for WebView bridge interfaces
  • Support for Markdown and JSON output formats
  • Customizable configuration for include/exclude directories
  • Seamless integration with TypeScript projects

Learn more about @webviewkit/bridgedocs

Getting Started

To get started with WebViewKit, you can install the packages you need using npm, yarn, or pnpm:

npm install @webviewkit/environment @webviewkit/bridge @webviewkit/bridgedocs
# or
yarn add @webviewkit/environment @webviewkit/bridge @webviewkit/bridgedocs
# or
pnpm add @webviewkit/environment @webviewkit/bridge @webviewkit/bridgedocs

Contributing

We welcome contributions to WebViewKit! If you're interested in contributing, please:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please make sure to update tests as appropriate and adhere to the code style of the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions, feel free to reach out or open an issue in the GitHub repository.


Happy coding with WebViewKit!

About

Library that collects the tools need for webview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published