question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi! We use some command-line tools to help with our project. At this moment we use a workaround as LokiJS is web and sqlite has native dependencies.

I tried to write my own adapter but I couldn’t write it properly as we had no access to some parts of code through import.

At first glance, I believe sqlite can be modified in order to handle both native and node, but before starting this PR, I would like to know if it sounds interesting for the maintainers.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
radexcommented, Jun 12, 2020

move adapter/sqlite’s makeDispatcher to a different place as makeDispatcherNative

good idea

I’m just not sure WHERE should I do it

Make a branch of off master. Next release will be 0.17.0

This would be easier if many of the types used weren’t blocked for outside access (Flow) or missing (v0.17 has some differences between TypeScript and Flow types)

I should make it more clear in the docs - Flow types are official (maintained by me and Nozbe), TypeScript types are maintained by the community. I’m all for better types, but I don’t use it, so I don’t maintain it — but I happily merge TS improvement PRs

0reactions
sidferreiracommented, Jun 12, 2020

Thanks for all the info! Will be able to work on it today 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create an HTTP Client with Core HTTP in Node.js
In this article, you will use the https Node.js modul… ... 13/14 How To Create an HTTP Client with Core HTTP in Node.js....
Read more >
Introduction to the Node.js Client API - Documentation
The Node.js Client API enables you to create Node.js applications that can read, write, and query documents and semantic data in a MarkLogic...
Read more >
HTTP | Node.js v19.3.0 Documentation
To use the HTTP server and client one must require('node:http') . The HTTP interfaces in Node.js are designed to support many features of...
Read more >
The only NodeJs introduction you'll ever need. - codeburst
js. Web applications were written in a client/server model where the client would demand resources from the server and the server would respond ......
Read more >
Google Cloud Functions: Node.js Client
Google's client libraries support legacy versions of Node.js runtimes on a best-efforts basis with the following warnings: Legacy versions are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found