This package has been deprecated

Author message:

no longer supported

@textile/rug
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Rug

Textile component utility for communicating with the native layer (iOS / Android).

Install

Until we open-source:

yarn add @textile/rug

Log JS objects

Drop-in replacement for console.log that will log to the native layer when present.

import * as rug from "textile-rug"

rug.log("hi")
rug.log(1234.56789)
rug.log({foo: "bar"})

// optionally provide a message
rug.log("howdy!", "Jimbo says") // -> "Jimbo says: howdy!"

Package Sidebar

Install

npm i @textile/rug

Homepage

textile.io/

Weekly Downloads

2

Version

1.0.10

License

MIT

Last publish

Collaborators

  • joewagner
  • awmuncy
  • sanderpick
  • textileio
  • andrewxhill
  • carsonfarmer
  • asutula