function TransformStream( options ) {
		var opts;
		var err;
		if ( !( this instanceof TransformStream ) ) {
			if ( arguments.length ) {
				return new TransformStream( options );
			}
			return new TransformStream();
		}
		opts = assign( {}, copts );
		if ( arguments.length ) {
			err = validate( opts, options );
			if ( err ) {
				throw err;
			}
		}
		debug( 'Creating a transform stream configured with the following options: %s.', JSON.stringify( opts ) );
		Transform.call( this, opts );
		this._destroyed = false;
		return this;
	}
Transform stream constructor.

@private
@constructor
@param {Options} [options] - stream options
@param {boolean} [options.objectMode=false] - specifies whether a stream should operate in object mode
@param {(string|null)} [options.encoding=null] - specifies how `Buffer` objects should be decoded to `strings`
@param {NonNegativeNumber} [options.highWaterMark] - specifies the `Buffer` level for when `write()` starts returning `false`
@param {boolean} [options.allowHalfOpen=false] - specifies whether the stream should remain open even if one side ends
@param {boolean} [options.decodeStrings=true] - specifies whether to decode `strings` into `Buffer` objects when writing
@throws {TypeError} options argument must be an object
@throws {TypeError} must provide valid options
@returns {TransformStream} transform stream

@example
var stdout = require( '@stdlib/streams/node/stdout' );

var stream = new TransformStream();

stream.pipe( stdout );

stream.write( '1' );
stream.write( '2' );
stream.write( '3' );

stream.end();

// prints: '1\n2\n3\n'