fergiemcdowall / search-index

A persistent, network resilient, full text search library for the browser and Node.js
MIT License
1.39k stars 149 forks source link

can't figure out how to load on observable #547

Closed trebor closed 2 years ago

trebor commented 3 years ago

I was hoping to use the tool on Observable but I was unable to load the package. They have a module loading tool here:

https://observablehq.com/@observablehq/module-require-debugger?module=search-index

which tries a number of approaches. I have also created a toy-notebook to show my (very simple) attempt to load the module.

fergiemcdowall commented 3 years ago

‘search-index’ is a vanilla, non-compiled node module with the entry point described in ‘package.json’ under ‘main’. Observable is new to me, so I cant give any more help unfortunately.

What is your high level aim here?