JSPM

safeload-yaml-from-file-sync-pmb

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20668F
  • License ISC

Legacy code compatibility cancer. Avoid if you can.

Package Exports

  • safeload-yaml-from-file-sync-pmb
  • safeload-yaml-from-file-sync-pmb/lyff.js

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 (safeload-yaml-from-file-sync-pmb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

safeload-yaml-from-file-sync-pmb

Legacy code compatibility cancer. Avoid if you can.

Avoid if you can.

Use this module if your only other viable option would be to re-create it as untested inline code.

The good solution would be to factor out your sync sludge to use Promises, and then use the read-data-file module instead.

API

This module exports one function with some extra properties:

lyff(path[, rqr])

Load Yaml From File. Synchronously.

If rqr is given, it's assumed to be your module's require function, and rqr.resolve will be used to find the absolute path.

lyff.default

Same as lyff, to help with broken module importers.

 

License

ISC