npm.io
1.0.2 • Published 2 years ago

@types/react-native-wol

Licence
MIT
Version
1.0.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0

Installation

npm install --save @types/react-native-wol

Summary

This package contains type definitions for react-native-wol (https://github.com/zombie6888/react-native-wol#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-wol.

index.d.ts

/**
 * Send a Wake on LAN packet for the provided MAC address.
 */
declare function send(
    ipAddress: string,
    macAddress: string,
    /** The callback will be passed true if the packet was sent without error. */
    callback?: (result: boolean, message: string) => void,
): void;

declare const wol: { send: typeof send };

export default wol;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Keana Delmotte.