it uses GIRepository
https://lazka.github.io/pgi-docs/GIRepository-2.0/index.html

it provides a quick view of namespaces, functions, method, enums, structs
to easily find (via grep) possible info on some module but while it's fully
GJS based it has strictly nothing to do with GJS itself.

did I answer your question?

On Mon, Nov 6, 2017 at 6:49 PM, Patrick Griffis via javascript-list <
javascript-list@gnome.org> wrote:

>
>
>
> sorry for the link, here the right one:
> https://github.com/cgjs/cgjs-about
>
> > Does it work with just `gjs`?
> it is just `gjs`
>
> On Mon, Nov 6, 2017 at 4:16 PM, Patrick Griffis via javascript-list <
> javascript-list@gnome.org> wrote:
>
>>
>>
>>
>> The cgjs/utilities experiment became a quite useful stand alone utility
>> to introspect at runtime GJS classes and gi avaliable namespaes.
>>
>> More details here:
>> https://github.com/WebReflection/cgjs-about
>>
>> You can install it via `npm install -g cgjs-about` and then try one of
>> these commands:
>>
>> cgjs-about gi                 # show all namespaes
>> cgjs-about gi.Gio             # show all gi.Gio info
>> cgjs-about Gio                # same as above
>> cgjs-about Gtk.Button         # show Gtk.Button class info
>> cgjs-about GLib.utf8_validate # show utf8_validate info
>> cgjs-about GLib enums         # show GLib enums
>>
>> options:
>>   --json                      # print JSON output
>>   --no-arguments              # print JSON without arguments info
>>
>>
>> If something is missing or wrong, or it can be improved, please let me
>> know.
>>
>> Regards
>>
>>
>> Your link seems broken but I will say GNOME Builder would love such
>> functionality. Does it work with just `gjs`?
>>
>> _______________________________________________
>> javascript-list mailing list
>> javascript-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/javascript-list
>>
>>
> Great, am I correct that this doesn't actually get information on `gjs`
> overrides or internal modules?
>
> _______________________________________________
> javascript-list mailing list
> javascript-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/javascript-list
>
>
_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to