@glyph-cat/swiss-army-knife
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-experimental.40 • Public • Published

Platform Availability

Some methods/variables/types with the @availability tag shows its availability on each platform. Others that do not have this tag means it is written in plain TypeScript/JavaScript and you should be able to use them virtually everywhere.

Concerning Platforms

  • Node — Node JS.
  • Web — The web in general. Unless explicitly stated, this includes both client-side and server-side rendering.
  • Android — Android (React Native).
  • iOS — iOS and iPadOS (React Native).
  • macOS — macOS (React Native).
  • Windows — Windows (React Native).

Indicators

These indicators refer to whether functions/variables/types can work properly on each platform. At best, these functions/variables/types will do nothing if used on unsupported platforms. However, you should still test their behaviours if you intend to share code between different platforms as some might cause native errors that require manual handling.

Also, it's worth noticing that while prop interfaces of React components may be available on every platforms, the components themselves might only be available on just a few.

  • ✅ Supported
  • ❌ Not supported
  • 🟠 Not tested

Support This Project


Package Sidebar

Install

npm i @glyph-cat/swiss-army-knife

Weekly Downloads

5

Version

0.0.0-experimental.40

License

MIT

Unpacked Size

2.58 MB

Total Files

28

Last publish

Collaborators

  • glyph-cat