New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-po2angular

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-po2angular

Gulp plugin to convert .po files to JSON for use with angular-gettext

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

This module is deprecated. Please use gulp-angular-gettext instead.

gulp-po2angular

Convert .po files to JSON for use with angular-gettext.

Install

Install with npm

npm install --save-dev gulp-po2angular

Examples

var gulp = require('gulp');
var po2angular = require('gulp-po2angular');

gulp.task('po2json', function () {
    return gulp.src(['po/**/*.po'])
        .pipe(po2angular())
        .pipe(gulp.dest('dist/translations/'));
});

Differences from grunt-angular-gettext

This plugin is similar to grunt-angular-gettext except that it outputs JSON instead of JSON wrapped in JavaScript. It's up to you how you load the resulting JSON into your app.

Differences from gulp-po2json

gulp-po2json generates slightly different JSON than what angular-gettext expects. It's pretty easy to convert its output (either raw or Jed-style) to the format that angular-gettext expects, but why bother when this plugin exists?

Keywords

FAQs

Package last updated on 25 Feb 2014

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