The cause of

  • I have been working for almost a year and have some ideas about basic business development
  • In the first three months of my career, I was exposed to new things and new business every day
  • After 3 months the business development became familiar with its technical growth and felt limited
  • If you don’t change, it’s like 3 months of experience in a year
  • My way of learning is to summarize and accumulate what I have learned, and then explore new methods I have never been exposed to
  • So this one is a summary, a summary of the year’s harvest
  • I began to think of concluding it in the form of my next blog post
  • Later, I decided that blogging might not be practical enough, so I decided to develop an NPM plug-in myself
  • Ok, let’s introduce this plugin and see what I have accumulated this year

process

Envisioned implementation function

  • Take the local IPv4ip
  • Static start serviceserver(Support custom port server 1234, default 7777)
  • Compress image resourcesrar(Faster, less compressed than Tinify, and currently unable to upload)
  • Compress image resourcestinify(Slow speed, good compression, limited by tinify_API (500 PCS per month, should be enough for general projects)
  • Support network image compression after local storagetinify http://asdf.png
  • Quickly generate project templatesxd ls
  • Automatic crawler
  • Picture automatically uploaded seven niuyun return CDN link

The project template is the main function point

  • The mobile end h5 – vue
  • The mobile end h5 – react
  • Admin -vue management background
  • Admin background admin-angular6☑️
  • Website PC – vue
  • Small program – wepy ️ ️ ☑ ️
  • Small program – taro
  • Go background template
  • Express backend template

Common UI component libraries

  • For mobile H5
  • For management background admin
  • For applets

The results of

  • For the XD-CLI plugin, I would like to eventually make a list with common base functions, followed by a generated project template
  • The functionality is implemented by native JS, and there will be a blog about how to implement this NPM package
  • This XD-CLI package wraps up the first year of work
  • In the second year, I plan to learn a back-end language go/ NodeJS, learn to develop native ios, get familiar with Linux, and finally consolidate the foundation (network layer/application layer).

Attachment 📎

  • NPM address