1.1.1 • Published 3 years ago

@thewen/wenjs v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

使用 Usage

  1. npm
    import wenjs from '@thewen/wenjs'
    wenjs.helloWen() // open console
  2. 直接引用
    <!-- 直接下载仓库中dist/wenjs.js或者dist/wenjs.min.js-->
    <script src="dist/wenjs.js"></script>
    <script>
      wenjs.helloWen()
    </script>
  3. CDN

    npm.io

    或者

    UNPKG

API

helloWen

问宗和你打招呼

wenjs.helloWen()
// 打开控制台看输出

baidu

告诉你任何问题的答案

wenjs.baidu(keyword: string)
// 直接打开新窗口

whois

告诉你ta是谁

使用jsonp查询,词条编辑在这里

wenjs.whois(who: string): Promise<string>
// 返回ta的简介

赞助者

贡献者

案例展示

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago