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

ember-cli-replace

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-replace

Replace text patterns with applause.

  • 0.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
140
increased by37.25%
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-replace

Build Status Dependency Status devDependency Status Ember Observer Score

Ember CLI addon to replace text patterns in files. This is just a thin wrapper around broccoli-replace.

Installation

ember install ember-cli-replace

Options

Define the source files that will be used for replacements, and patterns that will be used to replace the contents of source files.

var app = new EmberApp({
  replace: {
    files: [
      'index.html'
    ],
    patterns: [{
      match: 'foo',
      replacement: 'bar' // replaces "@@foo" to "bar"
    }],
    enabled: true // can be set to false to disable
  }
});

Read more about the options you may pass in on the broccoli-replace page. For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

FAQs

Package last updated on 24 Jan 2019

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