1.1.3 • Published 4 months ago
@automattic/vip-search-replace v1.1.3
VIP Search & Replace
How to use this package?
const { replace } = require( '@automattic/vip-search-replace' );
// Create a readable and writeable stream. Can be any stream: File, std, etc...
const readableStream = fs.createReadStream( 'path_to_sql_file.sql' );
const writeableStream = fs.createWriteStream( 'path_to_sql_file_replaced.sql', { encoding: 'utf8' } );
const result = await replace( readableStream, [ 'thisdomain.com', 'thatdomain.com' ] );
result.pipe( writeableStream );
Contributing
For details about contributing to this project (e.g. setting up development environment, publishing a release, etc.), please see CONTRIBUTING.md.
1.1.3
4 months ago
1.1.2
5 months ago
1.1.1
12 months ago
1.1.0
12 months ago
1.0.20
2 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.5
3 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago