Skip to main content
Module

x/enzastdlib/json5/types.ts>JSON5_TYPE_NAMES

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
variable JSON5_TYPE_NAMES
import { JSON5_TYPE_NAMES } from "https://deno.land/x/enzastdlib@v0.0.4/json5/types.ts";

Represents an enumeration of JavaScript type names supported by JSON5.

Examples

Example 1

import { assertEquals } from 'https://deno.land/std/testing/asserts.ts';
import { JSON5_TYPE_NAMES } from 'https://deno.land/x/enzastdlib/json5/mod.ts';

assertEquals(JSON5_TYPE_NAMES.string, 'string');

type

{ array: string; boolean: string; null: string; number: string; string: string; object: string; }