Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tap-yaml

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-yaml

Yaml handling for TAP parsers and generators

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
213K
decreased by-6.59%
Maintainers
1
Weekly downloads
 
Created
Source

tap-yaml

Yaml handling for TAP parsers and generators

USAGE

const yaml = require('tap-yaml')

const str = yaml.stringify(someObject)
const obj = yaml.parse(someString)

This is essentially a re-export of the yaml package, with a few modifications to be more suitable for use in tap.

  1. Symbol and Function types are added, so that they don't throw. Functions aren't parsed to actual functions, though, since that's horribly unsafe, but they do parse to an empty function with a ___source field that contains the string source.
  2. Certain common Error and tap-internal properties are removed, since they are excessively noisy. (Mostly related to domains and event emitters.)
  3. Binary types are implicitly allowed in a standard way.
  4. omap and set are configured to load using Map and Set objects.

Status

This is not yet ready for prime time. Work is underway to port node-tap projects to use it, which will take a bit of time, and probably flush out a lot of bugs and issues along the way.

If you'd like to help, get in touch!

Keywords

FAQs

Package last updated on 27 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc