@onflow/ix-tag-ping
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

@onflow/ix-tag-ping

Exports a tag constant

Installation

// CommonJS
// npm install --save @onflow/ix-tag-ping
const {TAG: PING} = require("@onflow/ix-tag-ping")

// ESM
// npm install --save @onflow/ix-tag-ping
import {TAG as PING} from "@onflow/ix-tag-ping"

// Typescript
// npm install --save @onflow/ix-tag-ping
import {TAG as PING} from "@onflow/ix-tag-ping"

// Browser
<script type="module">
  import {TAG as PING} from "https://unpkg.com/@onflow/ix-tag-ping/tag.js"
</script>

// Deno
import {TAG as PING} from "https://unpkg.com/@onflow/ix-tag-ping/tag.js"

Usage

import {assert} from "https://deno.land/std/testing/asserts.ts"
import {interaction} from "https://unpkg.com/@onflow/ix-adt-interaction/interaction.js"
import {isTag} from "https://unpkg.com/@onflow/ix-is-tag/is-tag.js"
import {makeTag} from "https://unpkg.com/@onflow/ix-make-tag/make-tag"
import {TAG} from "https://unpkg.com/@onflow/ix-tag-ping/tag.js"

Deno.test("Example", () => {
  const ix = makeTag(interaction(), TAG)
  assert(isTag(ix, TAG))
})

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @onflow/ix-tag-ping

      Weekly Downloads

      9

      Version

      0.0.0

      License

      none

      Unpacked Size

      1.57 kB

      Total Files

      6

      Last publish

      Collaborators

      • bthaile
      • jribbink
      • nialexsan
      • bakii_agl
      • han210
      • gregorggg
      • chasefleming
      • dapperj
      • gregsantos
      • derrickpelletier
      • dapper_labs
      • jeffreydoyle
      • harry.eth
      • turbolent_flow