yiliansource / prsize Goto Github PK
View Code? Open in Web Editor NEWA CLI tool to measure JS/TS project sizes.
Home Page: https://www.npmjs.com/package/prsize
License: MIT License
A CLI tool to measure JS/TS project sizes.
Home Page: https://www.npmjs.com/package/prsize
License: MIT License
Initially, the idea was to only provide JS/TS support, but with the way that the parser was written it should be easy to add support for more languages.
The following initial languages should be added, and the project should be rebranded as a general file statistics tool:
Subsequent language requests should be opened as individual issues. A note in the README should hint at this.
This could be useful to exclude possible filler lines that are not purely empty lines or lines with white space characters, which means a more accurate result in terms of relevant lines of code.
Taking C# as an example, the official coding convention page puts the curly brackets for opening and closing scopes into separate lines, which some might want to exclude from their count of relevant code lines.
Example from the page:
if ((val1 > val2) && (val1 > val3))
{
// Take appropriate action.
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.