title: can VSCode extension use sqlite3 to read data?
body: <p>I want to read SQLite DB while VSCode extension loading.</p>
  
  <p>the <code>extension.ts</code> looks like:</p>
  
  <pre><code>'use strict';
  
  import * as vscode from 'vscode';
  import sqlite3 = require('sqlite3');
  console.log(sqlite3);
  </code></pre>
  
  <ol>
  <li>atfer install by <code>npm install sqlite3</code>, the extension encounter error:</li>
  </ol>
  
  <pre><code>Activating extension `undefined_publisher.example` failed:  Cannot find module '/path/to/proj/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node'
  </code></pre>
  
  <ol start="2">
  <li>according <a href="https://github.com/mapbox/node-pre-gyp/blob/v0.12.0/lib/util/abi_crosswalk.json#L1758-L1761" rel="nofollow noreferrer">node-pre-gyp</a>, I reinstall sqlite3 by <code>npm install sqlite3 --target=10.0.0</code>, and make sure that <code>node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node</code> exists. <br>
  But vscode hang in <code>require('sqlite3');</code></li>
  </ol>
  
  <p><strong>Is there anyway can load data from sqlite in extension?</strong></p>