Wondering what’s next for npm?Check out our public roadmap! »

    oas-resolver-browser

    2.5.2 • Public • Published

    oas-resolver

    Forked from https://github.com/Mermade/oas-kit

    v2.5.0

    Usage

    const yaml = require('yaml');
    const input = yaml.parse(str);
    const source = url; // or filename
    resolver.resolve(input,source,options)
    .then(function(options){
      fs.writeFileSync(outputFile,yaml.stringify(options.openapi),'utf8');
    })
    .catch(function(ex){
      // ...
    });

    See here for complete documentation of the options object.

    Install

    npm i oas-resolver-browser

    DownloadsWeekly Downloads

    11,479

    Version

    2.5.2

    License

    BSD-3-Clause

    Unpacked Size

    38.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar
    • avatar