Nodding Previously Managed
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    lib-interpolatepublic

    Interpolate

    Install

    npm install --save lib-interpolate
    

    Usage

    var Interpolate = require('lib-interpolate');
    
    var map = {
      user: 'jacob',
      home: '/home/jacob'
    };
    
    var interp = new Interpolate(map);
    
    interp.expand("%{user}'s home is %{home}");
    // jacob's home is /home/jacob
    

    Keywords

    none

    install

    npm i lib-interpolate

    Downloadsweekly downloads

    3

    version

    0.0.0

    license

    none

    last publish

    collaborators

    • avatar