Skip to content

Instantly share code, notes, and snippets.

@brillout
Last active September 14, 2024 11:52
Show Gist options
  • Save brillout/b4b2a2547a9b8111f9c3fc8cb5e7bafd to your computer and use it in GitHub Desktop.
Save brillout/b4b2a2547a9b8111f9c3fc8cb5e7bafd to your computer and use it in GitHub Desktop.
Lines of Code `vike-vue`

Lines of Code vike-vue

Result: 1314 (September 2024).

Reproduce:

$ git clone git@github.com:vikejs/vike-vue --quiet
$ cd vike-vue/packages/vike-vue/
$ git ls-files | egrep '\.tsx?$' | xargs cat | wc | awk '{print $1;}'
$ cd ../../../ && rm -rf vike-vue/
1314

Same but as copy-pastable singe-line:

git clone git@github.com:vikejs/vike-vue --quiet && cd vike-vue/packages/vike-vue && git ls-files | egrep '\.tsx?$' | xargs cat | wc | awk '{print $1;}' && cd ../../../ && rm -rf vike-vue/

See also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment