tsearch
tsearch copied to clipboard
:warning: WIP :warning: Search TypeScript functions and methods by types
Add support for filtering (include/exclude) by package. This can help narrow down the search a lot and more importantly remove unnecessary requests. Analytics should help us understand better if this...
Let's consider this type: ``` type Foo = string | number ``` Searching by `Foo` and by `string | number` should show the results of this. There are some limitations...
This is part of the search algorithm (#14) but is worth to include it in a separated issue I believe. There are a few consideration about matching generics that we...
Currently the extractor only checks for exported functions. Searching for public/static methods of exported classes should be also supported. The initial goal of tsearch.io is to support functional oriented code...
Currently extracting takes way too long, around 10-20s per project, there are +6k projects in DefinitelyTyped (the whitelist will end up having quite some many projects as well). Now we...
Like Hoogle does, it'd be great to support searching local repositories (for personal projects or companies). This maybe could be done by providing a CLI for extracting as well as...
The current version of the extract is very naive. It runs the extract CLI (meant to extract only one module at a time) in parallel in each directory of DefinitelyTyped....
Currently I'm only extracting types from modules in [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) (DT). There's a very naive Golang program that runs in parallel the Node CLI and writes everything to a file. https://github.com/tsearch-io/tsearch/blob/master/packages/cli/main.go...
There's a syntax proposed for the queries in the search module https://github.com/tsearch-io/tsearch/tree/master/packages/search Implement query parsing with [Parsec](http://hackage.haskell.org/package/parsec).
To better understand what people search for in tsearch.io and if they are getting relevant results. Currently I push the query and the top 5 results to Firebase https://github.com/tsearch-io/tsearch/blob/master/packages/server/src/search.ts#L15-L36 We...