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

grunt-textr

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-textr

Grunt plugin for Textr

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

grunt-textr Build Status

Grunt plugin for Textr — framework for compose text transformation functions

Install

You may install this plugin with this command:

npm install grunt-textr --save-dev

Usage

Use this plugin like this:

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
    textr: {
      options: {
        locale: 'en-us',
        plugins: [
          require('typographic-quotes'),
          require('typographic-ellipses'),
          require('typographic-single-spaces')
        ]
      },
      files: {
        'dist/foo.md': 'src/bar.md'
      }
    }
});

grunt.registerTask('default', ['textr']);

Options

options

Type: Object Default value: {}

All passed options, except options.plugins, will be used for creating new transform stream (see textr defaults)

options.plugins

Type: Array Default value: []

Array of transform functions.

License

MIT © Denys Dovhan

Keywords

FAQs

Package last updated on 13 Apr 2017

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