
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tspackage-stream
Advanced tools
Provides a stream interface for the TsPackage minifier and modular Typescript bundle optimizer compiler for use in the gulp build pipeline.
Streams the output from TsPackage for use within a gulp build pipeline.
Additional details can be found on the TsProject wiki.
npm install tspackage-stream
tspackage.src( tsProjectConfigPath: string, settings: any )
Where:
tsProjectConfigPath is a relative directory path to the default Typescript project file named "tsconfig.json". Or, projectConfigPath is a relative path to a named Typescript project file.
TsProject on github contains a TodoMVC sample to help you get started. The sample is built using Angular, Typescript ES6 modules and Require.
Here is a simple gulpfile.js:
var gulp = require( 'gulp' );
var tspackage = require( 'tspackage-stream' );
gulp.task( 'build', function() {
// path to directory of tsconfig.json provided
tspackage.src( './src/project' )
.pipe( gulp.dest('./build') );
// path to named configuration file provided and optional settings specified
return tspackage.src( './src/project/myconfig.json',
{
logLevel: 1,
compilerOptions: {
listFiles: true
}
})
.pipe( gulp.dest( './mybuild' ) );
});
TsProject depends on NPM as a package manager and Gulp as a build tool. If you haven't already, you'll need to install both these tools in order to build tspackage-stream.
Once Gulp is installed, you can build it with the following commands:
npm install
gulp build
FAQs
Provides a stream interface for the TsPackage minifier and modular Typescript bundle optimizer compiler for use in the gulp build pipeline.
We found that tspackage-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.