Neurotic Programmer Masquerade

    @nib/buildkite-inline-image

    0.1.1 • Public • Published

    @nib/buildkite-inline-image

    Provides an easy way to output inline images into your buildkite output log from node.

    Handles generating the correct ANSI control characters and buildkite inline image syntax.

    Read more at the buildkite docs here.

    Usage

    var buildkiteInlineImage = require('@nib/buildkite-inline-image');
     
    // Inline image from url
    var inlineImage = buildkiteInlineImage.inlineURLImage('https://github.com/nib-health-funds/node-buildkite-inline-image/blob/master/docs/inline_image_example.png');
    console.log(inlineImage);
     
    // Or, from an uploaded artifact
    var artifactFilePath = '/path/to/artifact.png';
    var inlineArtifactImage = buildkiteInlineImage.inlineArtifactImage(artifactFilePath);
    console.log(inlineArtifactImage);

    The above would result in something similiar to the following output: Usage example output

    Install

    npm i @nib/buildkite-inline-image

    DownloadsWeekly Downloads

    1,005

    Version

    0.1.1

    License

    ISC

    Last publish

    Collaborators

    • muhammed-mudbath
    • aschofield-nib
    • dvasiliev
    • ian.darroch
    • syed.husain
    • nib-admin
    • lauriejones
    • cmayson
    • ken-ky-wong
    • stribs
    • bchiong
    • wng-services
    • eastwood
    • jason.huang.nib
    • mattbourke
    • narcher
    • eniland
    • tmcclenahan
    • gui99
    • mmartinez
    • jgarland
    • nib-nz-build
    • rlaldius
    • chloewicks
    • tgoldthorpe-nib
    • michaeltroy
    • nib-build-agent
    • hlee
    • jackmennienib
    • dariasu
    • bennettsolnet
    • airfan
    • victor.shi
    • john.vaughan
    • samdiamond
    • davidarmstrongnib
    • rovacsek
    • roland.molina
    • gnguyennib
    • james_mudbath
    • tom.mok
    • dnib
    • gl0206
    • waleedusman
    • mstephens
    • bbbates
    • tbrown-nib
    • vicvinegar
    • jordancollins
    • stab
    • josh.low
    • oshan.kottege
    • xiaoxinghu
    • liaa
    • kevinping
    • benlowbridge
    • awadhwa
    • ben.slater-mudbath
    • yangmei
    • dsmith.nib
    • dylan.cawsey
    • rbowen006
    • seanw.nib
    • anishmat27
    • sean0x42
    • zander-mudbath
    • sbeliak-nib
    • vpurushmudbath
    • topstar423
    • sylvainmudbath
    • c.lassen
    • baklantat
    • priyankahassija
    • antonpolkanov
    • saxoncameron-mudbath
    • bzhong
    • aglazyrin-mb
    • ajeetchaulagain
    • nk1337
    • karamdaddy-solnet
    • dmitrymatveev
    • jw1612
    • vaishalibhakhar
    • alejop-mudbath
    • rgstephens
    • r3gm1
    • maraza1721
    • d-martin-nib
    • apnib
    • jim.hortle
    • digio-shanefitzgerald
    • digio-peterbaldwin
    • sedrak-digio
    • digio-nickanderson
    • kieran.harvey
    • siyengar94