Gathering detailed insights and metrics for slush-node-typescript2
Gathering detailed insights and metrics for slush-node-typescript2
npm install slush-node-typescript2
Typescript
Module System
Min. Node Version
Node Version
NPM Version
45
Supply Chain
72.6
Quality
64.2
Maintenance
25
Vulnerability
90
License
JavaScript (87.27%)
TypeScript (12.73%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
723
Last Day
1
Last Week
2
Last Month
11
Last Year
59
MIT License
77 Commits
1 Forks
3 Watchers
2 Branches
1 Contributors
Updated on Oct 06, 2016
Latest Version
0.5.0
Package Id
slush-node-typescript2@0.5.0
Size
8.79 kB
NPM Version
3.10.3
Node Version
6.7.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-66.7%
2
Compared to previous week
Last Month
120%
11
Compared to previous month
Last Year
-4.8%
59
Compared to previous year
A slush generator for Node.js and TypeScript based on slush-node-typescript but adapted for TypeScript 2.x.
Extended to support webpack and more config options for testing:
- gulp or webpack as task managers
- karma and nightwatch for E2E testing
- istanbul for test coverage
- sinon for server mocking
Sample project can be found here
Use typings CLI to install type definitions.
Install slush-node-typescript2
globally:
1$ npm i -g slush-node-typescript2
Remember to install slush
globally as well, if you haven't already:
1$ npm i -g slush
Create a new folder for your node esnext package. Then cd into it.
1$ mkdir node-typescript-package && cd node-typescript-package
Initiate the generator:
1$ slush node-typescript2
Install type definitions to run tests:
typings install chai mocha node --global --save
(optionally) install all the latest modules for testing:
npm install typescript webpack ts-loader chai karma karma-chai karma-mocha karma-phantomjs-launcher karma-sinon karma-typescript-preprocessor2 karma-webpack mocha phantomjs-prebuilt sinon --save-dev
1$ slush node-typescript2:generate foo/bar
Will generate src/foo/bar.ts
and test/src/foo/bar_test.ts
to your package.
The generator expects a few conventions. They are easy to change if they are not suitable.
src
directory.test
directory.lib
directory.main
module is located at lib/{packageName}.js
.Slush is a tool that uses Gulp for project scaffolding.
Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.
To find out more about Slush, check out the documentation.
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More