npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

thunder-node-sdk-lite-m

v0.1.16

Published

thunder-node-sdk

Readme

ThunderBolt SDK for Electron

ThunderBolt Electron SDK 基于ThunderBolt SDK for Windows,使用 Node.js C++ 插件开发,是一个为 Electron 平台用户服务的SDK。

NPM Version ISC License

Install

npm i thunder-node-sdk

Usage

  1. 通过如下代码将 SDK 引入至你的项目中:

    import ThunderBoltEngine from 'thunder-node-sdk'
  2. 直接安装sdk,默认是不会进行编译,是不能直接使用的,可以在你的项目的package.json文件里加上配置,这样在npm install时将自动编译sdk:

    "thunder_electron": {
     "build": true,               //是否在npm install时进行自动编译
     "electron_version": "6.0.9", //你的项目使用的electron版本号 默认6.0.9
     "msvs_version":"2015"        //编译使用的vs版本号,默认2015
    }
  3. 如果不使用自动编译,也可以选择安装后自行编译。windows平台需要安装Visual Studio或使用npm install --g --production windows-build-tools安装编译环境;Mac需要安装Xcode Command Line Tools

    windows配置命令[target]是你的项目使用的electron版本号,msvs_version是你安装的vs版本号,也可以指定安装2015的编译环境:npm install --g --production windows-build-tools --vs2015

    node-gyp configure --target=6.0.9 --msvs_version=2015 --arch=ia32 --dist-url=https://electronjs.org/headers

    Mac配置命令:

    node-gyp configure --target=6.0.9 --dist-url=https://electronjs.org/headers

    配置完成就可以进行编译了:

    node-gyp build