Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-iget

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-iget

iget gulp commands

  • 0.3.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-iget

Gulp commands for i18n project

Install

npm i -D gulp-iget

Commands

On a top of gulpfile.

var iget = require('gulp-iget')({
    project: 'some-project',
    backend: 'http://locale-api.com'
})

push

Push strings to server for future translate

gulp.task('locale-push', function () {
    return gulp.src(['./templates/**/*.jade', './blocks/**/*.jade'])
        .pipe(iget.push())
});

check

Check strings for completeness. Show missed strings in files and fail @param languages {Array} - list of translation languages

gulp.task('locale-check', function () {
    return gulp.src(['./templates/**/*.jade', './blocks/**/*.jade'])
        .pipe(iget.check())
});

pull

Pull latest translations from server and save to a json file. Useful when you want to bundle strings with your project without need of pulling strings at application startup from a server

gulp.task('locale-pull', function () {
    return iget.pull()
        .pipe(gulp.dest('dist/static'))
});

FAQs

Package last updated on 20 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc