Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否示范从头到尾都是如何做的 #1

Open
Glassfire233 opened this issue May 16, 2019 · 4 comments
Open

能否示范从头到尾都是如何做的 #1

Glassfire233 opened this issue May 16, 2019 · 4 comments

Comments

@Glassfire233
Copy link

No description provided.

@Glassfire233
Copy link
Author

对如何使用有点摸不着头脑

@nintha
Copy link
Member

nintha commented May 23, 2019

  1. 找一个空文件夹,开终端执行
npm init

一路回车就好,然后运行

npm install @vutex/wapp2md
  1. 新建 index.js,在里面写入内容
const { writeFileSync } = require('fs')
const { parserPage } = require('@vutex/wapp2md')
parserPage(5544838611).then($ => { writeFileSync(`${__dirname}/5544838611.md`, $) })

在刚刚的终端里运行

node index.js
  1. 在文件夹里会发现5544838611.md

@MXYLR
Copy link

MXYLR commented Jun 7, 2019

报错 : TypeError : parserPage is not a function

@Kennnnnnji
Copy link

报错 : TypeError : parserPage is not a function

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants