{"_id":"gulp-ng-config-provider","_rev":"57-b86c60ed8ca0099de7f0eae5e4029ef3","name":"gulp-ng-config-provider","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"gulp-ng-config-provider","version":"0.0.1","keywords":["gulpplugin","angular","configuration","environment","variables"],"author":{"name":"James Pegg","email":"james.pegg@simplyhealth.co.uk"},"license":"Apache 2.0","_id":"gulp-ng-config-provider@0.0.1","maintainers":[{"name":"simplyhealth","email":"ebusiness.mailbox@simplyhealth.co.uk"}],"homepage":"https://github.com/simplyhealth/gulp-ng-config-provider#readme","bugs":{"url":"https://github.com/simplyhealth/gulp-ng-config-provider/issues"},"dist":{"shasum":"91e5d239177c0c598123cd7ff7405946692b17d1","tarball":"https://registry.npmjs.org/gulp-ng-config-provider/-/gulp-ng-config-provider-0.0.1.tgz","integrity":"sha512-9sOPOlp0o8S6UNSehWHOVEl1XUsdppS80xKNa+bwfRrp+n6hLGFQr4I0Ho4xQ+BvUKTk4D1gZ+Q44fBVv00lHg==","signatures":[{"sig":"MEUCIAFV93sOUjjOYcbkl6kG+4Hfzlt3/DJsiMvSifssBVOVAiEAjuEZgPgI3Jzj0WHI4Q8kQjrV0VC+GiQRD7jMhq8IYKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"91e5d239177c0c598123cd7ff7405946692b17d1","gitHead":"56a9a599ff2839bc4cba5c78c63597fa8db3d822","scripts":{},"_npmUser":{"name":"simplyhealth","email":"ebusiness.mailbox@simplyhealth.co.uk"},"repository":{"url":"git+https://github.com/simplyhealth/gulp-ng-config-provider.git","type":"git"},"_npmVersion":"3.10.9","description":"Generates a AngularJS 1 configuration provider based on process variables","directories":{},"_nodeVersion":"7.1.0","dependencies":{"dotenv":"^2.0.0","lodash":"^4.17.4","through2":"^2.0.3","gulp-util":"^3.0.7"},"_npmOperationalInternal":{"tmp":"tmp/gulp-ng-config-provider-0.0.1.tgz_1483706325766_0.10727112297900021","host":"packages-18-east.internal.npmjs.com"}}},"time":{"created":"2017-01-06T12:38:46.360Z","modified":"2025-12-01T11:56:33.331Z","0.0.1":"2017-01-06T12:38:46.360Z"},"bugs":{"url":"https://github.com/simplyhealth/gulp-ng-config-provider/issues"},"author":{"name":"James Pegg","email":"james.pegg@simplyhealth.co.uk"},"license":"Apache 2.0","homepage":"https://github.com/simplyhealth/gulp-ng-config-provider#readme","keywords":["gulpplugin","angular","configuration","environment","variables"],"repository":{"url":"git+https://github.com/simplyhealth/gulp-ng-config-provider.git","type":"git"},"description":"Generates a AngularJS 1 configuration provider based on process variables","maintainers":[{"email":"cloud.admin@simplyhealth.co.uk","name":"simplyhealth-admin"},{"email":"kimberlie.ushiro@simplyhealth.co.uk","name":"kim.ushiro"},{"email":"marian.dudych@simplyhealth.co.uk","name":"marian.dudych"},{"email":"chris.chalke@simplyhealth.co.uk","name":"cchalke"},{"email":"anthony.lerpiniere@simplyhealth.co.uk","name":"anthonylerpiniere"}],"readme":"# Gulp Angular Config Provider\nGenerates and adds a new ngConfig module with a ConfigProvider service to your AngularJS 1 Gulp build.\n\nThe plugin takes an array of configuration parameters to extract from an `.env` file (or `process.env`) and generates a new module with those parameters. This lets you have environment specific configuration within an AngularJS 1 application, without having to commit in your sensitive configuration properties.\n\n# Usage (Gulp)\n    var gulp = require('gulp');\n    var config = require('gulp-ng-config');\n    var concat = require('gulp-concat');\n\n    gulp.task('js', function (cb) {\n      return gulp.src(['app/**/*.module.js', 'app/**/*.js'])\n        .pipe(config(['MyVar', 'MyProp']))\n        .pipe('app.js');\n    });\n\n\n# Usage (AngularJS)\n    var app = angular.module('app', ['ngConfig']);\n\n    app.config(['configProvider', function(configProvider) {\n      console.log(configProvider.getConfig); // Outputs configuration object\n    }]);\n","readmeFilename":"README.md"}