1. 首页
  2. 考试认证
  3. 其它
  4. atom beefy在Atom Shell浏览器中运行您的代码

atom beefy在Atom Shell浏览器中运行您的代码

上传者: 2024-11-05 13:52:20上传 ZIP文件 2.42KB 热度 8次

atom-beefy 是一个强大的开发工具,它运行 browserify 开发服务器并在其 url 上打开一个 atom-shell 浏览器窗口。安装 atom-beefy 之前,首先需要安装 atom-shell,这可以让您在桌面上运行浏览器端 JavaScript

安装过程:

  1. 访问下载页面,安装 atom-shell

  2. 安装 atom-beefy

    npm install -g seanewest/atom-beefy

用法:

运行命令:

atom-beefy entry.js [width] [height]

这将把您的 JavaScript 代码嵌入到生成的 HTML 文件的样式标签中,并在一个独立窗口中呈现出来。该窗口将显示您指定的 widthheight 的大小。

atom-beefy 是一个简单高效的工具,适用于需要浏览和测试浏览器端代码的开发者。

下载地址
用户评论