create-routify 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -7
- package/src/versions/three/index.js +25 -33
- package/src/versions/three/utils.js +11 -0
- package/src/versions/three/examples/buildtime-data/index.html +0 -31
- package/src/versions/three/examples/buildtime-data/package.json +0 -15
- package/src/versions/three/examples/buildtime-data/src/App.svelte +0 -6
- package/src/versions/three/examples/buildtime-data/src/main.js +0 -5
- package/src/versions/three/examples/buildtime-data/src/routes/index.meta.js +0 -40
- package/src/versions/three/examples/buildtime-data/src/routes/index.svelte +0 -26
- package/src/versions/three/examples/buildtime-data/vite.config.js +0 -24
- package/src/versions/three/examples/experiment/index.html +0 -31
- package/src/versions/three/examples/experiment/jsconfig.json +0 -20
- package/src/versions/three/examples/experiment/package.json +0 -18
- package/src/versions/three/examples/experiment/src/App.svelte +0 -6
- package/src/versions/three/examples/experiment/src/main.js +0 -5
- package/src/versions/three/examples/experiment/src/routes/[page].svelte +0 -41
- package/src/versions/three/examples/experiment/src/routes/_navigation.svelte +0 -17
- package/src/versions/three/examples/experiment/src/routes/index.svelte +0 -3
- package/src/versions/three/examples/experiment/src/routes/pages/contact/index.md +0 -1
- package/src/versions/three/examples/experiment/src/routes/pages/gallery/galcontent/foo.svelte +0 -1
- package/src/versions/three/examples/experiment/src/routes/pages/gallery/galcontent/index.md +0 -3
- package/src/versions/three/examples/experiment/src/routes/pages/gallery/index.svelte +0 -15
- package/src/versions/three/examples/experiment/src/routes/pages/home/index.md +0 -1
- package/src/versions/three/examples/experiment/vite.config.js +0 -27
- package/src/versions/three/examples/kitchensink/index.html +0 -18
- package/src/versions/three/examples/kitchensink/package.json +0 -16
- package/src/versions/three/examples/kitchensink/src/App.svelte +0 -6
- package/src/versions/three/examples/kitchensink/src/components/Navigation.svelte +0 -29
- package/src/versions/three/examples/kitchensink/src/main.js +0 -5
- package/src/versions/three/examples/kitchensink/src/routes/_module.svelte +0 -8
- package/src/versions/three/examples/kitchensink/src/routes/composition/index.svelte +0 -5
- package/src/versions/three/examples/kitchensink/src/routes/composition/reset/_module.svelte +0 -2
- package/src/versions/three/examples/kitchensink/src/routes/composition/reset/index.svelte +0 -7
- package/src/versions/three/examples/kitchensink/src/routes/index.md +0 -2
- package/src/versions/three/examples/kitchensink/src/routes/multi-router/_module.md +0 -4
- package/src/versions/three/examples/kitchensink/src/routes/multi-router/basic.svelte +0 -13
- package/src/versions/three/examples/kitchensink/src/routes/multi-router/index.svelte +0 -0
- package/src/versions/three/examples/kitchensink/src/routes/multi-router/rootnode.svelte +0 -15
- package/src/versions/three/examples/kitchensink/src/routes/redirect/index.svelte +0 -10
- package/src/versions/three/examples/kitchensink/vite.config.js +0 -24
- package/src/versions/three/examples/microframework/app/index.html +0 -31
- package/src/versions/three/examples/microframework/app/package.json +0 -15
- package/src/versions/three/examples/microframework/app/src/App.svelte +0 -24
- package/src/versions/three/examples/microframework/app/src/main.js +0 -5
- package/src/versions/three/examples/microframework/app/src/routes/_module.md +0 -3
- package/src/versions/three/examples/microframework/app/src/routes/index.md +0 -1
- package/src/versions/three/examples/microframework/app/src/routes/internal-module/index.md +0 -1
- package/src/versions/three/examples/microframework/app/vite.config.js +0 -29
- package/src/versions/three/examples/microframework/module/index.html +0 -31
- package/src/versions/three/examples/microframework/module/package.json +0 -15
- package/src/versions/three/examples/microframework/module/src/App.svelte +0 -6
- package/src/versions/three/examples/microframework/module/src/main.js +0 -5
- package/src/versions/three/examples/microframework/module/src/routes/external-page.md +0 -1
- package/src/versions/three/examples/microframework/module/src/routes/index.svelte +0 -7
- package/src/versions/three/examples/microframework/module/vite.config.js +0 -24
- package/src/versions/three/examples/multi-router/index.html +0 -24
- package/src/versions/three/examples/multi-router/package.json +0 -16
- package/src/versions/three/examples/multi-router/src/App.svelte +0 -8
- package/src/versions/three/examples/multi-router/src/main.js +0 -5
- package/src/versions/three/examples/multi-router/src/routes/_module.svelte +0 -5
- package/src/versions/three/examples/multi-router/src/routes/index.md +0 -4
- package/src/versions/three/examples/multi-router/src/routes/page-with-widget.svelte +0 -7
- package/src/versions/three/examples/multi-router/src/widget/_module.svelte +0 -7
- package/src/versions/three/examples/multi-router/src/widget/index.md +0 -1
- package/src/versions/three/examples/multi-router/src/widget/page1.md +0 -1
- package/src/versions/three/examples/multi-router/src/widget/page2.md +0 -1
- package/src/versions/three/examples/multi-router/vite.config.js +0 -29
- package/src/versions/three/examples/portfolio/.persistent/src/pages/2.projects/_module.svelte/fetchRepos_reponames-27-4zq41g.json +0 -735
- package/src/versions/three/examples/portfolio/package.json +0 -23
- package/src/versions/three/examples/portfolio/src/app.html +0 -18
- package/src/versions/three/examples/portfolio/src/global.d.ts +0 -1
- package/src/versions/three/examples/portfolio/src/pages/1.home/index.svelte +0 -3
- package/src/versions/three/examples/portfolio/src/pages/2.projects/[project].svelte +0 -41
- package/src/versions/three/examples/portfolio/src/pages/2.projects/_module.meta.js +0 -36
- package/src/versions/three/examples/portfolio/src/pages/2.projects/_module.svelte +0 -28
- package/src/versions/three/examples/portfolio/src/pages/3.about-me/_module.svelte +0 -3
- package/src/versions/three/examples/portfolio/src/pages/3.about-me/index.svelte +0 -1
- package/src/versions/three/examples/portfolio/src/pages/_loader.svelte +0 -15
- package/src/versions/three/examples/portfolio/src/pages/_module.svelte +0 -41
- package/src/versions/three/examples/portfolio/src/pages/_navigation.svelte +0 -30
- package/src/versions/three/examples/portfolio/src/pages/index.svelte +0 -5
- package/src/versions/three/examples/portfolio/src/routes/[...index].svelte +0 -12
- package/src/versions/three/examples/portfolio/src/utils/github.js +0 -21
- package/src/versions/three/examples/portfolio/static/favicon.png +0 -0
- package/src/versions/three/examples/portfolio/svelte.config.js +0 -26
- package/src/versions/three/examples/subpath/index.html +0 -31
- package/src/versions/three/examples/subpath/package.json +0 -16
- package/src/versions/three/examples/subpath/src/App.svelte +0 -12
- package/src/versions/three/examples/subpath/src/main.js +0 -5
- package/src/versions/three/examples/subpath/src/routes/foo.svelte +0 -1
- package/src/versions/three/examples/subpath/src/routes/index.svelte +0 -7
- package/src/versions/three/examples/subpath/vite.config.js +0 -24
- package/src/versions/three/examples/sveltekit/package.json +0 -20
- package/src/versions/three/examples/sveltekit/src/app.html +0 -12
- package/src/versions/three/examples/sveltekit/src/global.d.ts +0 -1
- package/src/versions/three/examples/sveltekit/src/pages/a/page.svelte +0 -1
- package/src/versions/three/examples/sveltekit/src/pages/index.svelte +0 -6
- package/src/versions/three/examples/sveltekit/src/routes/[...index].svelte +0 -11
- package/src/versions/three/examples/sveltekit/static/favicon.png +0 -0
- package/src/versions/three/examples/sveltekit/svelte.config.js +0 -20
|
@@ -1,735 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"value": [
|
|
3
|
-
{
|
|
4
|
-
"data": {
|
|
5
|
-
"id": 210910840,
|
|
6
|
-
"node_id": "MDEwOlJlcG9zaXRvcnkyMTA5MTA4NDA=",
|
|
7
|
-
"name": "routify",
|
|
8
|
-
"full_name": "roxiness/routify",
|
|
9
|
-
"private": false,
|
|
10
|
-
"owner": {
|
|
11
|
-
"login": "roxiness",
|
|
12
|
-
"id": 58428864,
|
|
13
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
14
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
15
|
-
"gravatar_id": "",
|
|
16
|
-
"url": "https://api.github.com/users/roxiness",
|
|
17
|
-
"html_url": "https://github.com/roxiness",
|
|
18
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
19
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
20
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
21
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
22
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
23
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
24
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
25
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
26
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
27
|
-
"type": "Organization",
|
|
28
|
-
"site_admin": false
|
|
29
|
-
},
|
|
30
|
-
"html_url": "https://github.com/roxiness/routify",
|
|
31
|
-
"description": "Automated Svelte routes",
|
|
32
|
-
"fork": false,
|
|
33
|
-
"url": "https://api.github.com/repos/roxiness/routify",
|
|
34
|
-
"forks_url": "https://api.github.com/repos/roxiness/routify/forks",
|
|
35
|
-
"keys_url": "https://api.github.com/repos/roxiness/routify/keys{/key_id}",
|
|
36
|
-
"collaborators_url": "https://api.github.com/repos/roxiness/routify/collaborators{/collaborator}",
|
|
37
|
-
"teams_url": "https://api.github.com/repos/roxiness/routify/teams",
|
|
38
|
-
"hooks_url": "https://api.github.com/repos/roxiness/routify/hooks",
|
|
39
|
-
"issue_events_url": "https://api.github.com/repos/roxiness/routify/issues/events{/number}",
|
|
40
|
-
"events_url": "https://api.github.com/repos/roxiness/routify/events",
|
|
41
|
-
"assignees_url": "https://api.github.com/repos/roxiness/routify/assignees{/user}",
|
|
42
|
-
"branches_url": "https://api.github.com/repos/roxiness/routify/branches{/branch}",
|
|
43
|
-
"tags_url": "https://api.github.com/repos/roxiness/routify/tags",
|
|
44
|
-
"blobs_url": "https://api.github.com/repos/roxiness/routify/git/blobs{/sha}",
|
|
45
|
-
"git_tags_url": "https://api.github.com/repos/roxiness/routify/git/tags{/sha}",
|
|
46
|
-
"git_refs_url": "https://api.github.com/repos/roxiness/routify/git/refs{/sha}",
|
|
47
|
-
"trees_url": "https://api.github.com/repos/roxiness/routify/git/trees{/sha}",
|
|
48
|
-
"statuses_url": "https://api.github.com/repos/roxiness/routify/statuses/{sha}",
|
|
49
|
-
"languages_url": "https://api.github.com/repos/roxiness/routify/languages",
|
|
50
|
-
"stargazers_url": "https://api.github.com/repos/roxiness/routify/stargazers",
|
|
51
|
-
"contributors_url": "https://api.github.com/repos/roxiness/routify/contributors",
|
|
52
|
-
"subscribers_url": "https://api.github.com/repos/roxiness/routify/subscribers",
|
|
53
|
-
"subscription_url": "https://api.github.com/repos/roxiness/routify/subscription",
|
|
54
|
-
"commits_url": "https://api.github.com/repos/roxiness/routify/commits{/sha}",
|
|
55
|
-
"git_commits_url": "https://api.github.com/repos/roxiness/routify/git/commits{/sha}",
|
|
56
|
-
"comments_url": "https://api.github.com/repos/roxiness/routify/comments{/number}",
|
|
57
|
-
"issue_comment_url": "https://api.github.com/repos/roxiness/routify/issues/comments{/number}",
|
|
58
|
-
"contents_url": "https://api.github.com/repos/roxiness/routify/contents/{+path}",
|
|
59
|
-
"compare_url": "https://api.github.com/repos/roxiness/routify/compare/{base}...{head}",
|
|
60
|
-
"merges_url": "https://api.github.com/repos/roxiness/routify/merges",
|
|
61
|
-
"archive_url": "https://api.github.com/repos/roxiness/routify/{archive_format}{/ref}",
|
|
62
|
-
"downloads_url": "https://api.github.com/repos/roxiness/routify/downloads",
|
|
63
|
-
"issues_url": "https://api.github.com/repos/roxiness/routify/issues{/number}",
|
|
64
|
-
"pulls_url": "https://api.github.com/repos/roxiness/routify/pulls{/number}",
|
|
65
|
-
"milestones_url": "https://api.github.com/repos/roxiness/routify/milestones{/number}",
|
|
66
|
-
"notifications_url": "https://api.github.com/repos/roxiness/routify/notifications{?since,all,participating}",
|
|
67
|
-
"labels_url": "https://api.github.com/repos/roxiness/routify/labels{/name}",
|
|
68
|
-
"releases_url": "https://api.github.com/repos/roxiness/routify/releases{/id}",
|
|
69
|
-
"deployments_url": "https://api.github.com/repos/roxiness/routify/deployments",
|
|
70
|
-
"created_at": "2019-09-25T18:13:42Z",
|
|
71
|
-
"updated_at": "2021-11-17T18:52:40Z",
|
|
72
|
-
"pushed_at": "2021-11-14T16:38:20Z",
|
|
73
|
-
"git_url": "git://github.com/roxiness/routify.git",
|
|
74
|
-
"ssh_url": "git@github.com:roxiness/routify.git",
|
|
75
|
-
"clone_url": "https://github.com/roxiness/routify.git",
|
|
76
|
-
"svn_url": "https://github.com/roxiness/routify",
|
|
77
|
-
"homepage": "https://routify.dev",
|
|
78
|
-
"size": 9092,
|
|
79
|
-
"stargazers_count": 1387,
|
|
80
|
-
"watchers_count": 1387,
|
|
81
|
-
"language": "JavaScript",
|
|
82
|
-
"has_issues": true,
|
|
83
|
-
"has_projects": true,
|
|
84
|
-
"has_downloads": true,
|
|
85
|
-
"has_wiki": true,
|
|
86
|
-
"has_pages": false,
|
|
87
|
-
"forks_count": 61,
|
|
88
|
-
"mirror_url": null,
|
|
89
|
-
"archived": false,
|
|
90
|
-
"disabled": false,
|
|
91
|
-
"open_issues_count": 14,
|
|
92
|
-
"license": {
|
|
93
|
-
"key": "mit",
|
|
94
|
-
"name": "MIT License",
|
|
95
|
-
"spdx_id": "MIT",
|
|
96
|
-
"url": "https://api.github.com/licenses/mit",
|
|
97
|
-
"node_id": "MDc6TGljZW5zZTEz"
|
|
98
|
-
},
|
|
99
|
-
"allow_forking": true,
|
|
100
|
-
"is_template": false,
|
|
101
|
-
"topics": [],
|
|
102
|
-
"visibility": "public",
|
|
103
|
-
"forks": 61,
|
|
104
|
-
"open_issues": 14,
|
|
105
|
-
"watchers": 1387,
|
|
106
|
-
"default_branch": "master",
|
|
107
|
-
"temp_clone_token": null,
|
|
108
|
-
"organization": {
|
|
109
|
-
"login": "roxiness",
|
|
110
|
-
"id": 58428864,
|
|
111
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
112
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
113
|
-
"gravatar_id": "",
|
|
114
|
-
"url": "https://api.github.com/users/roxiness",
|
|
115
|
-
"html_url": "https://github.com/roxiness",
|
|
116
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
117
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
118
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
119
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
120
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
121
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
122
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
123
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
124
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
125
|
-
"type": "Organization",
|
|
126
|
-
"site_admin": false
|
|
127
|
-
},
|
|
128
|
-
"network_count": 61,
|
|
129
|
-
"subscribers_count": 26
|
|
130
|
-
},
|
|
131
|
-
"readme": "<div align=\"center\">\n <img src=\"routify.png\" alt=\"routify\" width=\"512\" /><br>\n <img src=\"https://badgen.net/npm/v/@roxi/routify\" alt=\"Badge\" />\n</div> \n\n\n----\n\n## Install\n\n* Install the Router only: `npm install --save-dev @roxi/routify`\n* Clone the [starter template](https://github.com/roxiness/routify-starter):\n * `npx @roxi/routify init`\n * The starter template contains a lot more than just the router, for more info see [here](https://routify.dev/guide/starter-Template).\n\n## Documentation\n\n[routify.dev](https://routify.dev/guide/introduction)\n\n## Template\n\n[Routify starter template](https://github.com/roxiness/routify-starter)\nIncludes SSR, prerendering, code splitting and much more.\n\n## Example\n\n[Starter example](https://example.routify.dev/example) Example from the starter template. Refresh a page to see how it is loaded.\n\n## Tutorials\n\n* [Easy client-side SPA routing with Routify](https://www.youtube.com/watch?v=AGLUJlOC6f0) by Jitesh\n* [How to add PostSCSS to Routify Starter](https://johanronsse.be/2020/05/01/how-to-add-postcss-to-routify/) by Wolfr\n* [Add SCSS to a Routify project](https://johanronsse.be/2020/04/05/how-to-add-scss-to-a-svelte-project-using-routify/) by Wolfr (slightly outdated)\n\n## Support\nPlease feel free to open an issue or a pull request. All feedback is welcome.\n\n<img height=\"32px\" src=\"https://discordapp.com/assets/f8389ca1a741a115313bede9ac02e2c0.svg\" /> **Join us on Discord** \n\nWant help? Have ideas about Routify? Chat with us on Discord. \nhttps://discord.gg/ntKJD5B\n"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"data": {
|
|
135
|
-
"id": 299939642,
|
|
136
|
-
"node_id": "MDEwOlJlcG9zaXRvcnkyOTk5Mzk2NDI=",
|
|
137
|
-
"name": "configent",
|
|
138
|
-
"full_name": "roxiness/configent",
|
|
139
|
-
"private": false,
|
|
140
|
-
"owner": {
|
|
141
|
-
"login": "roxiness",
|
|
142
|
-
"id": 58428864,
|
|
143
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
144
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
145
|
-
"gravatar_id": "",
|
|
146
|
-
"url": "https://api.github.com/users/roxiness",
|
|
147
|
-
"html_url": "https://github.com/roxiness",
|
|
148
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
149
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
150
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
151
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
152
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
153
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
154
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
155
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
156
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
157
|
-
"type": "Organization",
|
|
158
|
-
"site_admin": false
|
|
159
|
-
},
|
|
160
|
-
"html_url": "https://github.com/roxiness/configent",
|
|
161
|
-
"description": "no fuzz configurator",
|
|
162
|
-
"fork": false,
|
|
163
|
-
"url": "https://api.github.com/repos/roxiness/configent",
|
|
164
|
-
"forks_url": "https://api.github.com/repos/roxiness/configent/forks",
|
|
165
|
-
"keys_url": "https://api.github.com/repos/roxiness/configent/keys{/key_id}",
|
|
166
|
-
"collaborators_url": "https://api.github.com/repos/roxiness/configent/collaborators{/collaborator}",
|
|
167
|
-
"teams_url": "https://api.github.com/repos/roxiness/configent/teams",
|
|
168
|
-
"hooks_url": "https://api.github.com/repos/roxiness/configent/hooks",
|
|
169
|
-
"issue_events_url": "https://api.github.com/repos/roxiness/configent/issues/events{/number}",
|
|
170
|
-
"events_url": "https://api.github.com/repos/roxiness/configent/events",
|
|
171
|
-
"assignees_url": "https://api.github.com/repos/roxiness/configent/assignees{/user}",
|
|
172
|
-
"branches_url": "https://api.github.com/repos/roxiness/configent/branches{/branch}",
|
|
173
|
-
"tags_url": "https://api.github.com/repos/roxiness/configent/tags",
|
|
174
|
-
"blobs_url": "https://api.github.com/repos/roxiness/configent/git/blobs{/sha}",
|
|
175
|
-
"git_tags_url": "https://api.github.com/repos/roxiness/configent/git/tags{/sha}",
|
|
176
|
-
"git_refs_url": "https://api.github.com/repos/roxiness/configent/git/refs{/sha}",
|
|
177
|
-
"trees_url": "https://api.github.com/repos/roxiness/configent/git/trees{/sha}",
|
|
178
|
-
"statuses_url": "https://api.github.com/repos/roxiness/configent/statuses/{sha}",
|
|
179
|
-
"languages_url": "https://api.github.com/repos/roxiness/configent/languages",
|
|
180
|
-
"stargazers_url": "https://api.github.com/repos/roxiness/configent/stargazers",
|
|
181
|
-
"contributors_url": "https://api.github.com/repos/roxiness/configent/contributors",
|
|
182
|
-
"subscribers_url": "https://api.github.com/repos/roxiness/configent/subscribers",
|
|
183
|
-
"subscription_url": "https://api.github.com/repos/roxiness/configent/subscription",
|
|
184
|
-
"commits_url": "https://api.github.com/repos/roxiness/configent/commits{/sha}",
|
|
185
|
-
"git_commits_url": "https://api.github.com/repos/roxiness/configent/git/commits{/sha}",
|
|
186
|
-
"comments_url": "https://api.github.com/repos/roxiness/configent/comments{/number}",
|
|
187
|
-
"issue_comment_url": "https://api.github.com/repos/roxiness/configent/issues/comments{/number}",
|
|
188
|
-
"contents_url": "https://api.github.com/repos/roxiness/configent/contents/{+path}",
|
|
189
|
-
"compare_url": "https://api.github.com/repos/roxiness/configent/compare/{base}...{head}",
|
|
190
|
-
"merges_url": "https://api.github.com/repos/roxiness/configent/merges",
|
|
191
|
-
"archive_url": "https://api.github.com/repos/roxiness/configent/{archive_format}{/ref}",
|
|
192
|
-
"downloads_url": "https://api.github.com/repos/roxiness/configent/downloads",
|
|
193
|
-
"issues_url": "https://api.github.com/repos/roxiness/configent/issues{/number}",
|
|
194
|
-
"pulls_url": "https://api.github.com/repos/roxiness/configent/pulls{/number}",
|
|
195
|
-
"milestones_url": "https://api.github.com/repos/roxiness/configent/milestones{/number}",
|
|
196
|
-
"notifications_url": "https://api.github.com/repos/roxiness/configent/notifications{?since,all,participating}",
|
|
197
|
-
"labels_url": "https://api.github.com/repos/roxiness/configent/labels{/name}",
|
|
198
|
-
"releases_url": "https://api.github.com/repos/roxiness/configent/releases{/id}",
|
|
199
|
-
"deployments_url": "https://api.github.com/repos/roxiness/configent/deployments",
|
|
200
|
-
"created_at": "2020-09-30T14:06:51Z",
|
|
201
|
-
"updated_at": "2021-08-06T00:46:02Z",
|
|
202
|
-
"pushed_at": "2021-06-15T20:06:19Z",
|
|
203
|
-
"git_url": "git://github.com/roxiness/configent.git",
|
|
204
|
-
"ssh_url": "git@github.com:roxiness/configent.git",
|
|
205
|
-
"clone_url": "https://github.com/roxiness/configent.git",
|
|
206
|
-
"svn_url": "https://github.com/roxiness/configent",
|
|
207
|
-
"homepage": null,
|
|
208
|
-
"size": 537,
|
|
209
|
-
"stargazers_count": 10,
|
|
210
|
-
"watchers_count": 10,
|
|
211
|
-
"language": "JavaScript",
|
|
212
|
-
"has_issues": true,
|
|
213
|
-
"has_projects": true,
|
|
214
|
-
"has_downloads": true,
|
|
215
|
-
"has_wiki": true,
|
|
216
|
-
"has_pages": false,
|
|
217
|
-
"forks_count": 1,
|
|
218
|
-
"mirror_url": null,
|
|
219
|
-
"archived": false,
|
|
220
|
-
"disabled": false,
|
|
221
|
-
"open_issues_count": 1,
|
|
222
|
-
"license": null,
|
|
223
|
-
"allow_forking": true,
|
|
224
|
-
"is_template": false,
|
|
225
|
-
"topics": [],
|
|
226
|
-
"visibility": "public",
|
|
227
|
-
"forks": 1,
|
|
228
|
-
"open_issues": 1,
|
|
229
|
-
"watchers": 10,
|
|
230
|
-
"default_branch": "master",
|
|
231
|
-
"temp_clone_token": null,
|
|
232
|
-
"organization": {
|
|
233
|
-
"login": "roxiness",
|
|
234
|
-
"id": 58428864,
|
|
235
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
236
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
237
|
-
"gravatar_id": "",
|
|
238
|
-
"url": "https://api.github.com/users/roxiness",
|
|
239
|
-
"html_url": "https://github.com/roxiness",
|
|
240
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
241
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
242
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
243
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
244
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
245
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
246
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
247
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
248
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
249
|
-
"type": "Organization",
|
|
250
|
-
"site_admin": false
|
|
251
|
-
},
|
|
252
|
-
"network_count": 1,
|
|
253
|
-
"subscribers_count": 2
|
|
254
|
-
},
|
|
255
|
-
"readme": "<div align=\"center\">\n<img src=\"https://github.com/roxiness/configent/raw/master/configent.png\" alt=\"configent\">\n</div>\n\n# Configent\n\n### Confident configurations\n\nNo fuzz config compilation from (ordered by ascending precedence)\n\n- defaults\n- package.json\n- [name].config.js\n- .env\n- environment\n- input\n\n```javascript\n/** \n * package.json {\"foobar\": {\"city\": \"Portsmouth\"}}\n * foobar.config.js {lastSeen: 'Liverpool'}\n * process.env.foobar_last_seen = London\n * options = { name: 'Sherlock Holmes' }\n*/\n\nconst defaults = { name: 'John Doe', city: 'N/A', lastSeen: 'N/A' }\n\nconst config = configent('foobar', defaults, options)\n\n/**\n * console.log(config)\n * {\n * name: 'Sherlock Holmes',\n * city: 'Portsmouth',\n * lastSeen: 'London' \n * }\n * /\n```\n\n### Auto detect defaults\n\nConfigent supports multiple default configs. These are added to `./configs`.\n\n```javascript\n/** ./configs/routify2.config.js */\n\nmodule.exports = {\n supersedes: ['svelte'],\n condition: ({ pkgjson }) => pkgjson.dependencies['@roxi/routify'],\n config: () => ({ \n /** the config object used as default */\n myAppName: 'Routify App' \n })\n}\n```\n\n```javascript\n/** ./configs/svelte.config.js */\n\nmodule.exports = {\n condition: ({ pkgjson }) => pkgjson.dependencies['svelte'],\n config: () => ({ \n /** the config object used as default */\n myAppName: 'Svelte App' \n })\n}\n```\n\nThe first config with a true condition is used. To avoid conflicts, configs using the `supersedes` option, will run before their superseded targets.\n\nTo change the location of default configs, refer to `detectDefaultsConfigPath`.\n\n### API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n##### Table of Contents\n\n- [configent](#configent)\n - [Parameters](#parameters)\n\n#### configent\n\n##### Parameters\n\n- `defaults` **options** default options\n- `input` **Partial<options>?** provided input (optional, default `{}`)\n- `configentOptions` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** configent options\n - `configentOptions.name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name to use for configs. If left empty, name from package.json is used (optional, default `''`)\n - `configentOptions.cacheConfig` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** calling configent twice with same parameters will return the same instance (optional, default `true`)\n - `configentOptions.cacheDetectedDefaults` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** calling configent twice from the same module will return the same defaults (optional, default `true`)\n - `configentOptions.useDotEnv` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** include config from .env files (optional, default `true`)\n - `configentOptions.useEnv` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** include config from process.env (optional, default `true`)\n - `configentOptions.usePackageConfig` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** include config from package.json (optional, default `true`)\n - `configentOptions.useConfig` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** include config from [name].config.js (optional, default `true`)\n - `configentOptions.useDetectDefaults` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** detect defaults from context (package.json and file stucture) (optional, default `true`)\n - `configentOptions.detectDefaultsConfigPath` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** detect defaults from context (package.json and file stucture) (optional, default `'configs'`)\n - `configentOptions.sanitizeEnvValue` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** sanitize environment values. Convert snake_case to camelCase by default. (optional, default `str=>str.replace(/[-_][a-z]/g,str=>str.substr(1).toUpperCase())`)\n - `configentOptions.module` **NodeModule?** required if multiple modules are using configent\n\nReturns **options** \n\n#### \n\n\n---\n\n<a href=\"https://www.freepik.com/vectors/vintage\">Vintage vector created by macrovector - www.freepik.com</a>"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"data": {
|
|
259
|
-
"id": 236830441,
|
|
260
|
-
"node_id": "MDEwOlJlcG9zaXRvcnkyMzY4MzA0NDE=",
|
|
261
|
-
"name": "tossr",
|
|
262
|
-
"full_name": "roxiness/tossr",
|
|
263
|
-
"private": false,
|
|
264
|
-
"owner": {
|
|
265
|
-
"login": "roxiness",
|
|
266
|
-
"id": 58428864,
|
|
267
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
268
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
269
|
-
"gravatar_id": "",
|
|
270
|
-
"url": "https://api.github.com/users/roxiness",
|
|
271
|
-
"html_url": "https://github.com/roxiness",
|
|
272
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
273
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
274
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
275
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
276
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
277
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
278
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
279
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
280
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
281
|
-
"type": "Organization",
|
|
282
|
-
"site_admin": false
|
|
283
|
-
},
|
|
284
|
-
"html_url": "https://github.com/roxiness/tossr",
|
|
285
|
-
"description": "Universal SSR renderer powered by JSDOM",
|
|
286
|
-
"fork": false,
|
|
287
|
-
"url": "https://api.github.com/repos/roxiness/tossr",
|
|
288
|
-
"forks_url": "https://api.github.com/repos/roxiness/tossr/forks",
|
|
289
|
-
"keys_url": "https://api.github.com/repos/roxiness/tossr/keys{/key_id}",
|
|
290
|
-
"collaborators_url": "https://api.github.com/repos/roxiness/tossr/collaborators{/collaborator}",
|
|
291
|
-
"teams_url": "https://api.github.com/repos/roxiness/tossr/teams",
|
|
292
|
-
"hooks_url": "https://api.github.com/repos/roxiness/tossr/hooks",
|
|
293
|
-
"issue_events_url": "https://api.github.com/repos/roxiness/tossr/issues/events{/number}",
|
|
294
|
-
"events_url": "https://api.github.com/repos/roxiness/tossr/events",
|
|
295
|
-
"assignees_url": "https://api.github.com/repos/roxiness/tossr/assignees{/user}",
|
|
296
|
-
"branches_url": "https://api.github.com/repos/roxiness/tossr/branches{/branch}",
|
|
297
|
-
"tags_url": "https://api.github.com/repos/roxiness/tossr/tags",
|
|
298
|
-
"blobs_url": "https://api.github.com/repos/roxiness/tossr/git/blobs{/sha}",
|
|
299
|
-
"git_tags_url": "https://api.github.com/repos/roxiness/tossr/git/tags{/sha}",
|
|
300
|
-
"git_refs_url": "https://api.github.com/repos/roxiness/tossr/git/refs{/sha}",
|
|
301
|
-
"trees_url": "https://api.github.com/repos/roxiness/tossr/git/trees{/sha}",
|
|
302
|
-
"statuses_url": "https://api.github.com/repos/roxiness/tossr/statuses/{sha}",
|
|
303
|
-
"languages_url": "https://api.github.com/repos/roxiness/tossr/languages",
|
|
304
|
-
"stargazers_url": "https://api.github.com/repos/roxiness/tossr/stargazers",
|
|
305
|
-
"contributors_url": "https://api.github.com/repos/roxiness/tossr/contributors",
|
|
306
|
-
"subscribers_url": "https://api.github.com/repos/roxiness/tossr/subscribers",
|
|
307
|
-
"subscription_url": "https://api.github.com/repos/roxiness/tossr/subscription",
|
|
308
|
-
"commits_url": "https://api.github.com/repos/roxiness/tossr/commits{/sha}",
|
|
309
|
-
"git_commits_url": "https://api.github.com/repos/roxiness/tossr/git/commits{/sha}",
|
|
310
|
-
"comments_url": "https://api.github.com/repos/roxiness/tossr/comments{/number}",
|
|
311
|
-
"issue_comment_url": "https://api.github.com/repos/roxiness/tossr/issues/comments{/number}",
|
|
312
|
-
"contents_url": "https://api.github.com/repos/roxiness/tossr/contents/{+path}",
|
|
313
|
-
"compare_url": "https://api.github.com/repos/roxiness/tossr/compare/{base}...{head}",
|
|
314
|
-
"merges_url": "https://api.github.com/repos/roxiness/tossr/merges",
|
|
315
|
-
"archive_url": "https://api.github.com/repos/roxiness/tossr/{archive_format}{/ref}",
|
|
316
|
-
"downloads_url": "https://api.github.com/repos/roxiness/tossr/downloads",
|
|
317
|
-
"issues_url": "https://api.github.com/repos/roxiness/tossr/issues{/number}",
|
|
318
|
-
"pulls_url": "https://api.github.com/repos/roxiness/tossr/pulls{/number}",
|
|
319
|
-
"milestones_url": "https://api.github.com/repos/roxiness/tossr/milestones{/number}",
|
|
320
|
-
"notifications_url": "https://api.github.com/repos/roxiness/tossr/notifications{?since,all,participating}",
|
|
321
|
-
"labels_url": "https://api.github.com/repos/roxiness/tossr/labels{/name}",
|
|
322
|
-
"releases_url": "https://api.github.com/repos/roxiness/tossr/releases{/id}",
|
|
323
|
-
"deployments_url": "https://api.github.com/repos/roxiness/tossr/deployments",
|
|
324
|
-
"created_at": "2020-01-28T20:08:35Z",
|
|
325
|
-
"updated_at": "2021-11-14T20:21:46Z",
|
|
326
|
-
"pushed_at": "2021-07-07T11:47:07Z",
|
|
327
|
-
"git_url": "git://github.com/roxiness/tossr.git",
|
|
328
|
-
"ssh_url": "git@github.com:roxiness/tossr.git",
|
|
329
|
-
"clone_url": "https://github.com/roxiness/tossr.git",
|
|
330
|
-
"svn_url": "https://github.com/roxiness/tossr",
|
|
331
|
-
"homepage": "",
|
|
332
|
-
"size": 188,
|
|
333
|
-
"stargazers_count": 33,
|
|
334
|
-
"watchers_count": 33,
|
|
335
|
-
"language": "JavaScript",
|
|
336
|
-
"has_issues": true,
|
|
337
|
-
"has_projects": true,
|
|
338
|
-
"has_downloads": true,
|
|
339
|
-
"has_wiki": true,
|
|
340
|
-
"has_pages": false,
|
|
341
|
-
"forks_count": 6,
|
|
342
|
-
"mirror_url": null,
|
|
343
|
-
"archived": false,
|
|
344
|
-
"disabled": false,
|
|
345
|
-
"open_issues_count": 2,
|
|
346
|
-
"license": null,
|
|
347
|
-
"allow_forking": true,
|
|
348
|
-
"is_template": false,
|
|
349
|
-
"topics": [],
|
|
350
|
-
"visibility": "public",
|
|
351
|
-
"forks": 6,
|
|
352
|
-
"open_issues": 2,
|
|
353
|
-
"watchers": 33,
|
|
354
|
-
"default_branch": "master",
|
|
355
|
-
"temp_clone_token": null,
|
|
356
|
-
"organization": {
|
|
357
|
-
"login": "roxiness",
|
|
358
|
-
"id": 58428864,
|
|
359
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
360
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
361
|
-
"gravatar_id": "",
|
|
362
|
-
"url": "https://api.github.com/users/roxiness",
|
|
363
|
-
"html_url": "https://github.com/roxiness",
|
|
364
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
365
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
366
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
367
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
368
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
369
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
370
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
371
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
372
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
373
|
-
"type": "Organization",
|
|
374
|
-
"site_admin": false
|
|
375
|
-
},
|
|
376
|
-
"network_count": 6,
|
|
377
|
-
"subscribers_count": 4
|
|
378
|
-
},
|
|
379
|
-
"readme": "<div align=\"center\">\n <img src=\"tossr_logo.svg\" alt=\"tossr\" width=\"300\" /><br>\n</div>\n\n### Universal SPA to SSR\n\nRender HTML from any SPA.\n\n### Install\n\n`npm i tossr`\n\n### Usage example\n\n```javascript\nconst { tossr } = require('tossr')\n\nconst template = 'dist/index.html'\nconst script = 'dist/app.js'\nconst url = '/blog/ssr-is-fun'\n\nconst html = await tossr(template, script, url)\n```\n\n### Related libraries\n\n- [Spassr](https://github.com/roxiness/spassr) Small Express server with built in SSR\n- [Spank](https://github.com/roxiness/spank) Generate a static site from any SPA\n\n* * *\n\n### API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n##### Table of Contents\n\n- [tossr](#tossr)\n - [Parameters](#parameters)\n- [Config](#config)\n - [Properties](#properties)\n- [Eval](#eval)\n - [Parameters](#parameters-1)\n\n#### tossr\n\nRenders an HTML page from a HTML template, an app bundle and a path\n\n##### Parameters\n\n- `template` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Html template (or path to a HTML template).\n- `script` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Bundled JS app (or path to bundled bundle JS app).\n- `url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Path to render. Ie. /blog/breathing-oxygen-linked-to-staying-alive\n- `options` **Partial<[Config](#config)>?** Options\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** \n\n#### Config\n\nType: [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n##### Properties\n\n- `host` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** hostname to use while rendering. Defaults to <http://jsdom.ssr>\n- `eventName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** event to wait for before rendering app. Defaults to 'app-loaded'\n- `beforeEval` **[Eval](#eval)** Executed before script is evaluated.\n- `afterEval` **[Eval](#eval)** Executed after script is evaluated.\n- `silent` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Don't print timestamps\n- `inlineDynamicImports` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** required for apps with dynamic imports\n- `timeout` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** required for apps with dynamic imports\n- `dev` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** disables caching of inlinedDynamicImports bundle\n- `errorHandler` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** \n\n#### Eval\n\nCalled before/after the app script is evaluated\n\nType: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)\n\n##### Parameters\n\n- `dom` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** The DOM object\n \\*\n\n\n---\n\n<a href=\"https://www.freepik.com/vectors/party\">Party vector created by gstudioimagen - www.freepik.com</a>\n"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"data": {
|
|
383
|
-
"id": 324626484,
|
|
384
|
-
"node_id": "MDEwOlJlcG9zaXRvcnkzMjQ2MjY0ODQ=",
|
|
385
|
-
"name": "stackmix",
|
|
386
|
-
"full_name": "roxiness/stackmix",
|
|
387
|
-
"private": false,
|
|
388
|
-
"owner": {
|
|
389
|
-
"login": "roxiness",
|
|
390
|
-
"id": 58428864,
|
|
391
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
392
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
393
|
-
"gravatar_id": "",
|
|
394
|
-
"url": "https://api.github.com/users/roxiness",
|
|
395
|
-
"html_url": "https://github.com/roxiness",
|
|
396
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
397
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
398
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
399
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
400
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
401
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
402
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
403
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
404
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
405
|
-
"type": "Organization",
|
|
406
|
-
"site_admin": false
|
|
407
|
-
},
|
|
408
|
-
"html_url": "https://github.com/roxiness/stackmix",
|
|
409
|
-
"description": "A collection of templates for Routify.",
|
|
410
|
-
"fork": false,
|
|
411
|
-
"url": "https://api.github.com/repos/roxiness/stackmix",
|
|
412
|
-
"forks_url": "https://api.github.com/repos/roxiness/stackmix/forks",
|
|
413
|
-
"keys_url": "https://api.github.com/repos/roxiness/stackmix/keys{/key_id}",
|
|
414
|
-
"collaborators_url": "https://api.github.com/repos/roxiness/stackmix/collaborators{/collaborator}",
|
|
415
|
-
"teams_url": "https://api.github.com/repos/roxiness/stackmix/teams",
|
|
416
|
-
"hooks_url": "https://api.github.com/repos/roxiness/stackmix/hooks",
|
|
417
|
-
"issue_events_url": "https://api.github.com/repos/roxiness/stackmix/issues/events{/number}",
|
|
418
|
-
"events_url": "https://api.github.com/repos/roxiness/stackmix/events",
|
|
419
|
-
"assignees_url": "https://api.github.com/repos/roxiness/stackmix/assignees{/user}",
|
|
420
|
-
"branches_url": "https://api.github.com/repos/roxiness/stackmix/branches{/branch}",
|
|
421
|
-
"tags_url": "https://api.github.com/repos/roxiness/stackmix/tags",
|
|
422
|
-
"blobs_url": "https://api.github.com/repos/roxiness/stackmix/git/blobs{/sha}",
|
|
423
|
-
"git_tags_url": "https://api.github.com/repos/roxiness/stackmix/git/tags{/sha}",
|
|
424
|
-
"git_refs_url": "https://api.github.com/repos/roxiness/stackmix/git/refs{/sha}",
|
|
425
|
-
"trees_url": "https://api.github.com/repos/roxiness/stackmix/git/trees{/sha}",
|
|
426
|
-
"statuses_url": "https://api.github.com/repos/roxiness/stackmix/statuses/{sha}",
|
|
427
|
-
"languages_url": "https://api.github.com/repos/roxiness/stackmix/languages",
|
|
428
|
-
"stargazers_url": "https://api.github.com/repos/roxiness/stackmix/stargazers",
|
|
429
|
-
"contributors_url": "https://api.github.com/repos/roxiness/stackmix/contributors",
|
|
430
|
-
"subscribers_url": "https://api.github.com/repos/roxiness/stackmix/subscribers",
|
|
431
|
-
"subscription_url": "https://api.github.com/repos/roxiness/stackmix/subscription",
|
|
432
|
-
"commits_url": "https://api.github.com/repos/roxiness/stackmix/commits{/sha}",
|
|
433
|
-
"git_commits_url": "https://api.github.com/repos/roxiness/stackmix/git/commits{/sha}",
|
|
434
|
-
"comments_url": "https://api.github.com/repos/roxiness/stackmix/comments{/number}",
|
|
435
|
-
"issue_comment_url": "https://api.github.com/repos/roxiness/stackmix/issues/comments{/number}",
|
|
436
|
-
"contents_url": "https://api.github.com/repos/roxiness/stackmix/contents/{+path}",
|
|
437
|
-
"compare_url": "https://api.github.com/repos/roxiness/stackmix/compare/{base}...{head}",
|
|
438
|
-
"merges_url": "https://api.github.com/repos/roxiness/stackmix/merges",
|
|
439
|
-
"archive_url": "https://api.github.com/repos/roxiness/stackmix/{archive_format}{/ref}",
|
|
440
|
-
"downloads_url": "https://api.github.com/repos/roxiness/stackmix/downloads",
|
|
441
|
-
"issues_url": "https://api.github.com/repos/roxiness/stackmix/issues{/number}",
|
|
442
|
-
"pulls_url": "https://api.github.com/repos/roxiness/stackmix/pulls{/number}",
|
|
443
|
-
"milestones_url": "https://api.github.com/repos/roxiness/stackmix/milestones{/number}",
|
|
444
|
-
"notifications_url": "https://api.github.com/repos/roxiness/stackmix/notifications{?since,all,participating}",
|
|
445
|
-
"labels_url": "https://api.github.com/repos/roxiness/stackmix/labels{/name}",
|
|
446
|
-
"releases_url": "https://api.github.com/repos/roxiness/stackmix/releases{/id}",
|
|
447
|
-
"deployments_url": "https://api.github.com/repos/roxiness/stackmix/deployments",
|
|
448
|
-
"created_at": "2020-12-26T20:02:30Z",
|
|
449
|
-
"updated_at": "2021-11-03T19:43:27Z",
|
|
450
|
-
"pushed_at": "2021-11-03T19:43:23Z",
|
|
451
|
-
"git_url": "git://github.com/roxiness/stackmix.git",
|
|
452
|
-
"ssh_url": "git@github.com:roxiness/stackmix.git",
|
|
453
|
-
"clone_url": "https://github.com/roxiness/stackmix.git",
|
|
454
|
-
"svn_url": "https://github.com/roxiness/stackmix",
|
|
455
|
-
"homepage": null,
|
|
456
|
-
"size": 381,
|
|
457
|
-
"stargazers_count": 18,
|
|
458
|
-
"watchers_count": 18,
|
|
459
|
-
"language": "JavaScript",
|
|
460
|
-
"has_issues": true,
|
|
461
|
-
"has_projects": true,
|
|
462
|
-
"has_downloads": true,
|
|
463
|
-
"has_wiki": true,
|
|
464
|
-
"has_pages": false,
|
|
465
|
-
"forks_count": 1,
|
|
466
|
-
"mirror_url": null,
|
|
467
|
-
"archived": false,
|
|
468
|
-
"disabled": false,
|
|
469
|
-
"open_issues_count": 4,
|
|
470
|
-
"license": null,
|
|
471
|
-
"allow_forking": true,
|
|
472
|
-
"is_template": false,
|
|
473
|
-
"topics": [],
|
|
474
|
-
"visibility": "public",
|
|
475
|
-
"forks": 1,
|
|
476
|
-
"open_issues": 4,
|
|
477
|
-
"watchers": 18,
|
|
478
|
-
"default_branch": "master",
|
|
479
|
-
"temp_clone_token": null,
|
|
480
|
-
"organization": {
|
|
481
|
-
"login": "roxiness",
|
|
482
|
-
"id": 58428864,
|
|
483
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
484
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
485
|
-
"gravatar_id": "",
|
|
486
|
-
"url": "https://api.github.com/users/roxiness",
|
|
487
|
-
"html_url": "https://github.com/roxiness",
|
|
488
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
489
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
490
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
491
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
492
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
493
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
494
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
495
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
496
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
497
|
-
"type": "Organization",
|
|
498
|
-
"site_admin": false
|
|
499
|
-
},
|
|
500
|
-
"network_count": 1,
|
|
501
|
-
"subscribers_count": 7
|
|
502
|
-
},
|
|
503
|
-
"readme": "<p align=\"center\">\n <img alt=\"stackmix\" width=\"480\" src=\"https://raw.githubusercontent.com/roxiness/stackmix/master/.github/logo.svg\">\n</p>\n\n# Stackmix [preview]\n### Template generator based on Svelte and Routify.\n\n---\n\nDon't be fooled by the \"prerelease\". You should totally take it for a ride. 😎\n\n## Getting started\n```\nnpx stackmix [app-name]\ncd [app-name]\nnpm install\nnpm run dev\n```\n\nRemember to report any bugs back to us. 😉\n\n---\n\n## Getting started [for contributors and testers]\n```bash\n$ git clone https://github.com/roxiness/stackmix.git\n$ cd stackmix\n$ npm install\n```\n\n#### To build a template from fragments\n`node lib/cli`\n\n__The wizard can be skipped by providing fragments as arguments__\n`npm run generate -- -fragments rollup,i18n,navigation,content,miligram,mdsvex`\n\n__use `--watch` to update output on fragment change__\n\n---\n\n**Given the variety of fragments, we would greatly appreciate contributors for this projects** 🙏\n"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"data": {
|
|
507
|
-
"id": 314868584,
|
|
508
|
-
"node_id": "MDEwOlJlcG9zaXRvcnkzMTQ4Njg1ODQ=",
|
|
509
|
-
"name": "poindexter",
|
|
510
|
-
"full_name": "roxiness/poindexter",
|
|
511
|
-
"private": false,
|
|
512
|
-
"owner": {
|
|
513
|
-
"login": "roxiness",
|
|
514
|
-
"id": 58428864,
|
|
515
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
516
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
517
|
-
"gravatar_id": "",
|
|
518
|
-
"url": "https://api.github.com/users/roxiness",
|
|
519
|
-
"html_url": "https://github.com/roxiness",
|
|
520
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
521
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
522
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
523
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
524
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
525
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
526
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
527
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
528
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
529
|
-
"type": "Organization",
|
|
530
|
-
"site_admin": false
|
|
531
|
-
},
|
|
532
|
-
"html_url": "https://github.com/roxiness/poindexter",
|
|
533
|
-
"description": "Search engine for your static site",
|
|
534
|
-
"fork": false,
|
|
535
|
-
"url": "https://api.github.com/repos/roxiness/poindexter",
|
|
536
|
-
"forks_url": "https://api.github.com/repos/roxiness/poindexter/forks",
|
|
537
|
-
"keys_url": "https://api.github.com/repos/roxiness/poindexter/keys{/key_id}",
|
|
538
|
-
"collaborators_url": "https://api.github.com/repos/roxiness/poindexter/collaborators{/collaborator}",
|
|
539
|
-
"teams_url": "https://api.github.com/repos/roxiness/poindexter/teams",
|
|
540
|
-
"hooks_url": "https://api.github.com/repos/roxiness/poindexter/hooks",
|
|
541
|
-
"issue_events_url": "https://api.github.com/repos/roxiness/poindexter/issues/events{/number}",
|
|
542
|
-
"events_url": "https://api.github.com/repos/roxiness/poindexter/events",
|
|
543
|
-
"assignees_url": "https://api.github.com/repos/roxiness/poindexter/assignees{/user}",
|
|
544
|
-
"branches_url": "https://api.github.com/repos/roxiness/poindexter/branches{/branch}",
|
|
545
|
-
"tags_url": "https://api.github.com/repos/roxiness/poindexter/tags",
|
|
546
|
-
"blobs_url": "https://api.github.com/repos/roxiness/poindexter/git/blobs{/sha}",
|
|
547
|
-
"git_tags_url": "https://api.github.com/repos/roxiness/poindexter/git/tags{/sha}",
|
|
548
|
-
"git_refs_url": "https://api.github.com/repos/roxiness/poindexter/git/refs{/sha}",
|
|
549
|
-
"trees_url": "https://api.github.com/repos/roxiness/poindexter/git/trees{/sha}",
|
|
550
|
-
"statuses_url": "https://api.github.com/repos/roxiness/poindexter/statuses/{sha}",
|
|
551
|
-
"languages_url": "https://api.github.com/repos/roxiness/poindexter/languages",
|
|
552
|
-
"stargazers_url": "https://api.github.com/repos/roxiness/poindexter/stargazers",
|
|
553
|
-
"contributors_url": "https://api.github.com/repos/roxiness/poindexter/contributors",
|
|
554
|
-
"subscribers_url": "https://api.github.com/repos/roxiness/poindexter/subscribers",
|
|
555
|
-
"subscription_url": "https://api.github.com/repos/roxiness/poindexter/subscription",
|
|
556
|
-
"commits_url": "https://api.github.com/repos/roxiness/poindexter/commits{/sha}",
|
|
557
|
-
"git_commits_url": "https://api.github.com/repos/roxiness/poindexter/git/commits{/sha}",
|
|
558
|
-
"comments_url": "https://api.github.com/repos/roxiness/poindexter/comments{/number}",
|
|
559
|
-
"issue_comment_url": "https://api.github.com/repos/roxiness/poindexter/issues/comments{/number}",
|
|
560
|
-
"contents_url": "https://api.github.com/repos/roxiness/poindexter/contents/{+path}",
|
|
561
|
-
"compare_url": "https://api.github.com/repos/roxiness/poindexter/compare/{base}...{head}",
|
|
562
|
-
"merges_url": "https://api.github.com/repos/roxiness/poindexter/merges",
|
|
563
|
-
"archive_url": "https://api.github.com/repos/roxiness/poindexter/{archive_format}{/ref}",
|
|
564
|
-
"downloads_url": "https://api.github.com/repos/roxiness/poindexter/downloads",
|
|
565
|
-
"issues_url": "https://api.github.com/repos/roxiness/poindexter/issues{/number}",
|
|
566
|
-
"pulls_url": "https://api.github.com/repos/roxiness/poindexter/pulls{/number}",
|
|
567
|
-
"milestones_url": "https://api.github.com/repos/roxiness/poindexter/milestones{/number}",
|
|
568
|
-
"notifications_url": "https://api.github.com/repos/roxiness/poindexter/notifications{?since,all,participating}",
|
|
569
|
-
"labels_url": "https://api.github.com/repos/roxiness/poindexter/labels{/name}",
|
|
570
|
-
"releases_url": "https://api.github.com/repos/roxiness/poindexter/releases{/id}",
|
|
571
|
-
"deployments_url": "https://api.github.com/repos/roxiness/poindexter/deployments",
|
|
572
|
-
"created_at": "2020-11-21T17:41:49Z",
|
|
573
|
-
"updated_at": "2021-10-03T14:59:55Z",
|
|
574
|
-
"pushed_at": "2021-05-19T11:06:34Z",
|
|
575
|
-
"git_url": "git://github.com/roxiness/poindexter.git",
|
|
576
|
-
"ssh_url": "git@github.com:roxiness/poindexter.git",
|
|
577
|
-
"clone_url": "https://github.com/roxiness/poindexter.git",
|
|
578
|
-
"svn_url": "https://github.com/roxiness/poindexter",
|
|
579
|
-
"homepage": "",
|
|
580
|
-
"size": 647,
|
|
581
|
-
"stargazers_count": 72,
|
|
582
|
-
"watchers_count": 72,
|
|
583
|
-
"language": "JavaScript",
|
|
584
|
-
"has_issues": true,
|
|
585
|
-
"has_projects": true,
|
|
586
|
-
"has_downloads": true,
|
|
587
|
-
"has_wiki": true,
|
|
588
|
-
"has_pages": false,
|
|
589
|
-
"forks_count": 2,
|
|
590
|
-
"mirror_url": null,
|
|
591
|
-
"archived": false,
|
|
592
|
-
"disabled": false,
|
|
593
|
-
"open_issues_count": 0,
|
|
594
|
-
"license": null,
|
|
595
|
-
"allow_forking": true,
|
|
596
|
-
"is_template": false,
|
|
597
|
-
"topics": [],
|
|
598
|
-
"visibility": "public",
|
|
599
|
-
"forks": 2,
|
|
600
|
-
"open_issues": 0,
|
|
601
|
-
"watchers": 72,
|
|
602
|
-
"default_branch": "master",
|
|
603
|
-
"temp_clone_token": null,
|
|
604
|
-
"organization": {
|
|
605
|
-
"login": "roxiness",
|
|
606
|
-
"id": 58428864,
|
|
607
|
-
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4NDI4ODY0",
|
|
608
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/58428864?v=4",
|
|
609
|
-
"gravatar_id": "",
|
|
610
|
-
"url": "https://api.github.com/users/roxiness",
|
|
611
|
-
"html_url": "https://github.com/roxiness",
|
|
612
|
-
"followers_url": "https://api.github.com/users/roxiness/followers",
|
|
613
|
-
"following_url": "https://api.github.com/users/roxiness/following{/other_user}",
|
|
614
|
-
"gists_url": "https://api.github.com/users/roxiness/gists{/gist_id}",
|
|
615
|
-
"starred_url": "https://api.github.com/users/roxiness/starred{/owner}{/repo}",
|
|
616
|
-
"subscriptions_url": "https://api.github.com/users/roxiness/subscriptions",
|
|
617
|
-
"organizations_url": "https://api.github.com/users/roxiness/orgs",
|
|
618
|
-
"repos_url": "https://api.github.com/users/roxiness/repos",
|
|
619
|
-
"events_url": "https://api.github.com/users/roxiness/events{/privacy}",
|
|
620
|
-
"received_events_url": "https://api.github.com/users/roxiness/received_events",
|
|
621
|
-
"type": "Organization",
|
|
622
|
-
"site_admin": false
|
|
623
|
-
},
|
|
624
|
-
"network_count": 2,
|
|
625
|
-
"subscribers_count": 3
|
|
626
|
-
},
|
|
627
|
-
"readme": "<div align=\"center\">\n <img src=\"./poindexter.svg\" width=\"300px\">\n \n **Search engine for your static site.**\n\n Powered by [FlexSearch](https://github.com/nextapps-de/flexsearch)\n\n <br />\n <br />\n</div>\n\n\nPoindexter scans a folder for HTML files and indexes each file's content by its relative filename. The full index is output to `poindexter.bundle.js`, which can be imported and searched with poindexter or flexsearch.\n\n# Getting started\n\n### Create a searchable index\n\n```\nnpx poindexter [HTML folder] -o [output path]\n```\n\n### Searching with Poindexter\n\n```javascript\n import { client } from \"poindexter/runtime\"; \n\n // loads the poindexter.bundle.json.\n // for custom path: `client.init({ path: '/path/to/poindexter.bundle.js' })`\n client.init()\n\n // search the index.\n client.index.search(query)\n```\n\n### Narrowing the indexable area\nTo avoid indexing navbars and widgets, Poindexter provide the following options.\n\n**contentSelectors** An array of selectors. Poindexter tries each selector untill a match is found. Only the content of the first match is indexed. If no match is found, the page is skipped.\n\n**IgnoreSelectors** An array of selectors. Poindexter removes any elements matching these selectors.\n\nPlease refer to the [scrape function](https://github.com/roxiness/poindexter/blob/master/defaults.js#L19) for more info. Alternatively you can use your own scrape function.\n\n### Options\nPlease refer to the [defaults](https://github.com/roxiness/poindexter/blob/master/defaults.js) for now.\n\n### Configuration\nThanks to [Configent](https://github.com/roxiness/configent) Poindexter can be configured here \n- poindexter.config.js\n- package.json (create a poindexter field)\n- environment\n- .env\n- command line\n- API\n\n### Title, description and keywords\nPoindexter assumes that title, meta description and meta keywords are available in your HTML. Please refer to [defaults](https://github.com/roxiness/poindexter/blob/master/defaults.js#L16) If this is not the case, you can create your own resolvers.\n\nCustom resolvers\n```javascript\n{\n title: $ => 'my website',\n description: $ => $('.description') || 'no description',\n keywords: $ => $('meta[name=keywords]').attr('content').split(',')\n}\n```\n\n# FAQ\n\n#### Can I use Poindexter with a SPA?\nPoindexter requires a static site. If you have a SPA, have a look at [Spank](https://github.com/roxiness/spank).\n\n#### Where can I use Poindexter?\nPoindexter can be served from the client, your own backend or a serverless function.\n\n#### How big are the index bundles?\nA site like [routify.dev](https://routify.dev) with 65 pages, generates a 65 kb bundle after brotli compression.\n\n---\n\n# Example\n\n[Routify dev build](https://routify-2020-git-searchify.sveltaforce.now.sh/)\n<img src=\"./poindexter.gif\">\n"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"data": {
|
|
631
|
-
"id": 407183730,
|
|
632
|
-
"node_id": "MDEwOlJlcG9zaXRvcnk0MDcxODM3MzA=",
|
|
633
|
-
"name": "consolite",
|
|
634
|
-
"full_name": "jakobrosenberg/consolite",
|
|
635
|
-
"private": false,
|
|
636
|
-
"owner": {
|
|
637
|
-
"login": "jakobrosenberg",
|
|
638
|
-
"id": 4153004,
|
|
639
|
-
"node_id": "MDQ6VXNlcjQxNTMwMDQ=",
|
|
640
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/4153004?v=4",
|
|
641
|
-
"gravatar_id": "",
|
|
642
|
-
"url": "https://api.github.com/users/jakobrosenberg",
|
|
643
|
-
"html_url": "https://github.com/jakobrosenberg",
|
|
644
|
-
"followers_url": "https://api.github.com/users/jakobrosenberg/followers",
|
|
645
|
-
"following_url": "https://api.github.com/users/jakobrosenberg/following{/other_user}",
|
|
646
|
-
"gists_url": "https://api.github.com/users/jakobrosenberg/gists{/gist_id}",
|
|
647
|
-
"starred_url": "https://api.github.com/users/jakobrosenberg/starred{/owner}{/repo}",
|
|
648
|
-
"subscriptions_url": "https://api.github.com/users/jakobrosenberg/subscriptions",
|
|
649
|
-
"organizations_url": "https://api.github.com/users/jakobrosenberg/orgs",
|
|
650
|
-
"repos_url": "https://api.github.com/users/jakobrosenberg/repos",
|
|
651
|
-
"events_url": "https://api.github.com/users/jakobrosenberg/events{/privacy}",
|
|
652
|
-
"received_events_url": "https://api.github.com/users/jakobrosenberg/received_events",
|
|
653
|
-
"type": "User",
|
|
654
|
-
"site_admin": false
|
|
655
|
-
},
|
|
656
|
-
"html_url": "https://github.com/jakobrosenberg/consolite",
|
|
657
|
-
"description": "tiny logger that features line numbers, log levels, log prefixes and nesting",
|
|
658
|
-
"fork": false,
|
|
659
|
-
"url": "https://api.github.com/repos/jakobrosenberg/consolite",
|
|
660
|
-
"forks_url": "https://api.github.com/repos/jakobrosenberg/consolite/forks",
|
|
661
|
-
"keys_url": "https://api.github.com/repos/jakobrosenberg/consolite/keys{/key_id}",
|
|
662
|
-
"collaborators_url": "https://api.github.com/repos/jakobrosenberg/consolite/collaborators{/collaborator}",
|
|
663
|
-
"teams_url": "https://api.github.com/repos/jakobrosenberg/consolite/teams",
|
|
664
|
-
"hooks_url": "https://api.github.com/repos/jakobrosenberg/consolite/hooks",
|
|
665
|
-
"issue_events_url": "https://api.github.com/repos/jakobrosenberg/consolite/issues/events{/number}",
|
|
666
|
-
"events_url": "https://api.github.com/repos/jakobrosenberg/consolite/events",
|
|
667
|
-
"assignees_url": "https://api.github.com/repos/jakobrosenberg/consolite/assignees{/user}",
|
|
668
|
-
"branches_url": "https://api.github.com/repos/jakobrosenberg/consolite/branches{/branch}",
|
|
669
|
-
"tags_url": "https://api.github.com/repos/jakobrosenberg/consolite/tags",
|
|
670
|
-
"blobs_url": "https://api.github.com/repos/jakobrosenberg/consolite/git/blobs{/sha}",
|
|
671
|
-
"git_tags_url": "https://api.github.com/repos/jakobrosenberg/consolite/git/tags{/sha}",
|
|
672
|
-
"git_refs_url": "https://api.github.com/repos/jakobrosenberg/consolite/git/refs{/sha}",
|
|
673
|
-
"trees_url": "https://api.github.com/repos/jakobrosenberg/consolite/git/trees{/sha}",
|
|
674
|
-
"statuses_url": "https://api.github.com/repos/jakobrosenberg/consolite/statuses/{sha}",
|
|
675
|
-
"languages_url": "https://api.github.com/repos/jakobrosenberg/consolite/languages",
|
|
676
|
-
"stargazers_url": "https://api.github.com/repos/jakobrosenberg/consolite/stargazers",
|
|
677
|
-
"contributors_url": "https://api.github.com/repos/jakobrosenberg/consolite/contributors",
|
|
678
|
-
"subscribers_url": "https://api.github.com/repos/jakobrosenberg/consolite/subscribers",
|
|
679
|
-
"subscription_url": "https://api.github.com/repos/jakobrosenberg/consolite/subscription",
|
|
680
|
-
"commits_url": "https://api.github.com/repos/jakobrosenberg/consolite/commits{/sha}",
|
|
681
|
-
"git_commits_url": "https://api.github.com/repos/jakobrosenberg/consolite/git/commits{/sha}",
|
|
682
|
-
"comments_url": "https://api.github.com/repos/jakobrosenberg/consolite/comments{/number}",
|
|
683
|
-
"issue_comment_url": "https://api.github.com/repos/jakobrosenberg/consolite/issues/comments{/number}",
|
|
684
|
-
"contents_url": "https://api.github.com/repos/jakobrosenberg/consolite/contents/{+path}",
|
|
685
|
-
"compare_url": "https://api.github.com/repos/jakobrosenberg/consolite/compare/{base}...{head}",
|
|
686
|
-
"merges_url": "https://api.github.com/repos/jakobrosenberg/consolite/merges",
|
|
687
|
-
"archive_url": "https://api.github.com/repos/jakobrosenberg/consolite/{archive_format}{/ref}",
|
|
688
|
-
"downloads_url": "https://api.github.com/repos/jakobrosenberg/consolite/downloads",
|
|
689
|
-
"issues_url": "https://api.github.com/repos/jakobrosenberg/consolite/issues{/number}",
|
|
690
|
-
"pulls_url": "https://api.github.com/repos/jakobrosenberg/consolite/pulls{/number}",
|
|
691
|
-
"milestones_url": "https://api.github.com/repos/jakobrosenberg/consolite/milestones{/number}",
|
|
692
|
-
"notifications_url": "https://api.github.com/repos/jakobrosenberg/consolite/notifications{?since,all,participating}",
|
|
693
|
-
"labels_url": "https://api.github.com/repos/jakobrosenberg/consolite/labels{/name}",
|
|
694
|
-
"releases_url": "https://api.github.com/repos/jakobrosenberg/consolite/releases{/id}",
|
|
695
|
-
"deployments_url": "https://api.github.com/repos/jakobrosenberg/consolite/deployments",
|
|
696
|
-
"created_at": "2021-09-16T13:52:08Z",
|
|
697
|
-
"updated_at": "2021-11-04T11:59:16Z",
|
|
698
|
-
"pushed_at": "2021-11-04T11:59:13Z",
|
|
699
|
-
"git_url": "git://github.com/jakobrosenberg/consolite.git",
|
|
700
|
-
"ssh_url": "git@github.com:jakobrosenberg/consolite.git",
|
|
701
|
-
"clone_url": "https://github.com/jakobrosenberg/consolite.git",
|
|
702
|
-
"svn_url": "https://github.com/jakobrosenberg/consolite",
|
|
703
|
-
"homepage": null,
|
|
704
|
-
"size": 169,
|
|
705
|
-
"stargazers_count": 3,
|
|
706
|
-
"watchers_count": 3,
|
|
707
|
-
"language": "JavaScript",
|
|
708
|
-
"has_issues": true,
|
|
709
|
-
"has_projects": true,
|
|
710
|
-
"has_downloads": true,
|
|
711
|
-
"has_wiki": true,
|
|
712
|
-
"has_pages": false,
|
|
713
|
-
"forks_count": 1,
|
|
714
|
-
"mirror_url": null,
|
|
715
|
-
"archived": false,
|
|
716
|
-
"disabled": false,
|
|
717
|
-
"open_issues_count": 0,
|
|
718
|
-
"license": null,
|
|
719
|
-
"allow_forking": true,
|
|
720
|
-
"is_template": false,
|
|
721
|
-
"topics": [],
|
|
722
|
-
"visibility": "public",
|
|
723
|
-
"forks": 1,
|
|
724
|
-
"open_issues": 0,
|
|
725
|
-
"watchers": 3,
|
|
726
|
-
"default_branch": "main",
|
|
727
|
-
"temp_clone_token": null,
|
|
728
|
-
"network_count": 1,
|
|
729
|
-
"subscribers_count": 1
|
|
730
|
-
},
|
|
731
|
-
"readme": "<img src=\"./consolite.svg\" style=\"width:100%\">\n\n## Features\n- **It's tiny** - 371 bytes gzip + minify.\n- **It preserves line numbers** - so you can find exactly where your code was logged.\n- **Prefixing** - provide context for your logs by adding a prefix.\n- **Nesting** - sometimes you need to add extra context. This can be handled by creating a child logger\n- **Log levels** - log levels can be customized and are inherited by child instances\n- **Native console methods** - consolite wraps around `console` so any method available on console will be available on consolite.\n\n## Install\n```\nnpm install consolite\n```\n\n## Basic Usage\n```javascript\nimport { createLogger } from 'consolite'\n\nconst log = createLog()\n\nlog.log('hello world') // prints \"hello world\"\n```\n\n\n## Examples\n\n### Using prefix\n```javascript\nconst log = createLog('[my-prefix]')\n\nlog.log('hello world') // prints \"[my-prefix] hello world\"\n```\n### Using a function prefix\n```javascript\nconst log = createLog(method => `${method} ->`)\nlog.debug('hello world') // prints \"debug -> hello world\"\n```\n\n\n### Child logger\nChild loggers inherit prefixes, levels and level from their parents.\n```javascript\nconst log = createLog('[parent]')\nconst childLog = log.createChild('[child]')\n\nlog.log('hello world') // prints \"[parent] [child] hello world\"\n```\n\n### Changing log level\n```javascript\nconst log = createLog()\n\nlog.debug('hello world') // does nothing\nlog.level = 4 // 3 by default\nlog.debug('hello world') // prints \"hello world\"\n\n```\n\n### Changing default levels\n```javascript\nconst log = createLog()\n\nlog.debug('hello world') // does nothing\nlog.levels.debug = 3 // set debug to match current logging level\nlog.debug('hello world') // prints \"hello world\"\n```\n"
|
|
732
|
-
}
|
|
733
|
-
],
|
|
734
|
-
"updated": "2021-11-18T19:28:04.177Z"
|
|
735
|
-
}
|