JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1961
  • Score
    100M100P100Q114221F
  • License MIT

Stringify object/array with yaml syntax

Package Exports

  • yamlify-object

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yamlify-object) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

yamlify-object

Build Status Code Coverage

  npm install yamlify-object
  const yamlifyObject = require('yamlify-object');
  
  const obj = {
    array: [
      2,
      'two',
      {
        emptyArray: [],
      },
    ],
    object: {
      number: 200,
      bool: false,
      null: null,
      undefined: undefined,
    },
  };

  console.log(yamlifyObject(obj));