Anduin Xue

let today = new Beginning();

node


Lint markdown with customized rule by JavaScript

Recently, I have a repository with a lot of markdown files. Anduin2017/HowToCook: 程序员在家做饭方法指南。Programmer's guide about how to cook at home (Chinese only). (github.com) I installed some markdown lint plugins. However, there are some customized need for me to lint files. I think it might be a good idea to lint it with node JS, since it configures easily in GitHub pipeline and works with some  …

GitHub node JavaScript GitHub Actions Continuous Integration

Build a package that can be used in browser and node with TypeScript

Sometimes I may need to share some of my logic\algorithm with other developers. In this case I might need to build a library. That library might be used in the customer's browser, or might be referenced by other front-end projects, may be based on Angular or React. So how can we build a package with TypeScript that benefits from strong type while can be installed\reference\used by others? After  …

Web npm TypeScript node webpack JavaScript Front-end

  • 1