mirror of
https://github.com/imfing/hextra.git
synced 2025-07-05 12:17:11 -04:00
Compare commits
5 Commits
v0.9.1
...
1605d17971
Author | SHA1 | Date | |
---|---|---|---|
1605d17971 | |||
06eb8a66a1 | |||
081ad8b84f | |||
7593ef4ae4 | |||
b70d729283 |
15
.github/FUNDING.yml
vendored
15
.github/FUNDING.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: imfing
|
|
||||||
patreon: # Replace with a single Patreon username
|
|
||||||
open_collective: # Replace with a single Open Collective username
|
|
||||||
ko_fi: # Replace with a single Ko-fi username
|
|
||||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
||||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
||||||
liberapay: # Replace with a single Liberapay username
|
|
||||||
issuehunt: # Replace with a single IssueHunt username
|
|
||||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
|
||||||
polar: # Replace with a single Polar username
|
|
||||||
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
|
|
||||||
thanks_dev: # Replace with a single thanks.dev username
|
|
||||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.138.0
|
HUGO_VERSION: 0.136.5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -1,8 +1,43 @@
|
|||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
scrollToActiveItem();
|
initializeSidebar();
|
||||||
enableCollapsibles();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function initializeSidebar() {
|
||||||
|
const sidebarScrollbar = document.querySelector("aside.sidebar-container > .hextra-scrollbar");
|
||||||
|
if (!sidebarScrollbar) return;
|
||||||
|
|
||||||
|
enableCollapsibles();
|
||||||
|
restoreSidebarPosition(sidebarScrollbar);
|
||||||
|
|
||||||
|
const debouncedSave = debounce((position) => {
|
||||||
|
saveSidebarPosition(position);
|
||||||
|
}, 150);
|
||||||
|
|
||||||
|
sidebarScrollbar.addEventListener('scroll', function() {
|
||||||
|
debouncedSave(this.scrollTop);
|
||||||
|
});
|
||||||
|
|
||||||
|
document.querySelectorAll('a').forEach(link => {
|
||||||
|
if (link.hostname === window.location.hostname) {
|
||||||
|
link.addEventListener('click', function(e) {
|
||||||
|
saveSidebarPosition(sidebarScrollbar.scrollTop);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function debounce(func, wait) {
|
||||||
|
let timeout;
|
||||||
|
return function executedFunction(...args) {
|
||||||
|
const later = () => {
|
||||||
|
clearTimeout(timeout);
|
||||||
|
func(...args);
|
||||||
|
};
|
||||||
|
clearTimeout(timeout);
|
||||||
|
timeout = setTimeout(later, wait);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
function enableCollapsibles() {
|
function enableCollapsibles() {
|
||||||
const buttons = document.querySelectorAll(".hextra-sidebar-collapsible-button");
|
const buttons = document.querySelectorAll(".hextra-sidebar-collapsible-button");
|
||||||
buttons.forEach(function (button) {
|
buttons.forEach(function (button) {
|
||||||
@ -16,21 +51,16 @@ function enableCollapsibles() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrollToActiveItem() {
|
function saveSidebarPosition(scrollPosition) {
|
||||||
const sidebarScrollbar = document.querySelector("aside.sidebar-container > .hextra-scrollbar");
|
localStorage.setItem('sidebarScrollPosition', scrollPosition);
|
||||||
const activeItems = document.querySelectorAll(".sidebar-active-item");
|
}
|
||||||
const visibleActiveItem = Array.from(activeItems).find(function (activeItem) {
|
|
||||||
return activeItem.getBoundingClientRect().height > 0;
|
function restoreSidebarPosition(sidebarScrollbar) {
|
||||||
});
|
const savedPosition = localStorage.getItem('sidebarScrollPosition');
|
||||||
|
|
||||||
if (!visibleActiveItem) {
|
if (savedPosition !== null) {
|
||||||
return;
|
requestAnimationFrame(() => {
|
||||||
}
|
sidebarScrollbar.scrollTop = parseInt(savedPosition);
|
||||||
|
});
|
||||||
const yOffset = visibleActiveItem.clientHeight;
|
}
|
||||||
const yDistance = visibleActiveItem.getBoundingClientRect().top - sidebarScrollbar.getBoundingClientRect().top;
|
|
||||||
sidebarScrollbar.scrollTo({
|
|
||||||
behavior: "instant",
|
|
||||||
top: yDistance - yOffset
|
|
||||||
});
|
|
||||||
}
|
}
|
@ -44,129 +44,6 @@ The primary color of the theme can be customized by setting the `--primary-hue`,
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Further Theme Customization
|
|
||||||
|
|
||||||
The theme can be further customized by overriding the default styles via the exposed css classes. An example for customizing the footer element:
|
|
||||||
|
|
||||||
```css {filename="assets/css/custom.css"}
|
|
||||||
.hextra-footer {
|
|
||||||
/* Styles will be applied to the footer element */
|
|
||||||
}
|
|
||||||
|
|
||||||
.hextra-footer:is(html[class~="dark"] *) {
|
|
||||||
/* Styles will be applied to the footer element in dark mode */
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
The following classes can be used to customize various parts of the theme.
|
|
||||||
|
|
||||||
#### General
|
|
||||||
|
|
||||||
- `hextra-scrollbar` - The scrollbar element
|
|
||||||
- `content` - Page content container
|
|
||||||
|
|
||||||
#### Shortcodes
|
|
||||||
|
|
||||||
##### Badge
|
|
||||||
|
|
||||||
- `hextra-badge` - The badge element
|
|
||||||
|
|
||||||
##### Card
|
|
||||||
|
|
||||||
- `hextra-card` - The card element
|
|
||||||
- `hextra-card-image` - The card image element
|
|
||||||
- `hextra-card-icon` - The card icon element
|
|
||||||
- `hextra-card-subtitle` - The card subtitle element
|
|
||||||
|
|
||||||
##### Cards
|
|
||||||
|
|
||||||
- `hextra-cards` - The cards grid container
|
|
||||||
|
|
||||||
##### Jupyter Notebook
|
|
||||||
|
|
||||||
- `hextra-jupyter-code-cell` - The Jupyter code cell container
|
|
||||||
- `hextra-jupyter-code-cell-outputs-container` - The Jupyter code cell outputs container
|
|
||||||
- `hextra-jupyter-code-cell-outputs` - The Jupyter code cell output div element
|
|
||||||
|
|
||||||
##### PDF
|
|
||||||
|
|
||||||
- `hextra-pdf` - The PDF container element
|
|
||||||
|
|
||||||
##### Steps
|
|
||||||
|
|
||||||
- `steps` - The steps container
|
|
||||||
|
|
||||||
##### Tabs
|
|
||||||
|
|
||||||
- `hextra-tabs-panel` - The tabs panel container
|
|
||||||
- `hextra-tabs-toggle` - The tabs toggle button
|
|
||||||
|
|
||||||
##### Filetree
|
|
||||||
|
|
||||||
- `hextra-filetree` - The filetree container
|
|
||||||
|
|
||||||
##### Folder
|
|
||||||
|
|
||||||
- `hextra-filetree-folder` - The filetree folder container
|
|
||||||
|
|
||||||
#### Navbar
|
|
||||||
|
|
||||||
- `nav-container` - The navbar container
|
|
||||||
- `nav-container-blur` - The navbar container in blur element
|
|
||||||
- `hamburger-menu` - The hamburger menu button
|
|
||||||
|
|
||||||
#### Footer
|
|
||||||
|
|
||||||
- `hextra-footer` - The footer element
|
|
||||||
- `hextra-custom-footer` - The custom footer section container
|
|
||||||
|
|
||||||
#### Search
|
|
||||||
|
|
||||||
- `search-wrapper` - The search wrapper container
|
|
||||||
- `search-input` - The search input element
|
|
||||||
- `search-results` - The search results list container
|
|
||||||
|
|
||||||
#### Table of Contents
|
|
||||||
|
|
||||||
- `hextra-toc` - The table of contents container
|
|
||||||
|
|
||||||
#### Sidebar
|
|
||||||
|
|
||||||
- `mobile-menu-overlay` - The overlay element for the mobile menu
|
|
||||||
- `sidebar-container` - The sidebar container
|
|
||||||
- `sidebar-active-item` - The active item in the sidebar
|
|
||||||
|
|
||||||
#### Language Switcher
|
|
||||||
|
|
||||||
- `language-switcher` - The language switcher button
|
|
||||||
- `language-options` - The language options container
|
|
||||||
|
|
||||||
#### Theme Toggle
|
|
||||||
|
|
||||||
- `theme-toggle` - The theme toggle button
|
|
||||||
|
|
||||||
#### Cody Copy Button
|
|
||||||
|
|
||||||
- `hextra-code-copy-btn-container` - The code copy button container
|
|
||||||
- `hextra-code-copy-btn` - The code copy button
|
|
||||||
|
|
||||||
#### Code Block
|
|
||||||
|
|
||||||
- `hextra-code-block` - The code block container
|
|
||||||
|
|
||||||
#### Feature Card
|
|
||||||
|
|
||||||
- `hextra-feature-card` - The feature card link element
|
|
||||||
|
|
||||||
#### Feature Grid
|
|
||||||
|
|
||||||
- `hextra-feature-grid` - The feature grid container
|
|
||||||
|
|
||||||
#### Breadcrumbs
|
|
||||||
|
|
||||||
No specific class is available for breadcrumbs.
|
|
||||||
|
|
||||||
### Syntax Highlighting
|
### Syntax Highlighting
|
||||||
|
|
||||||
List of available syntax highlighting themes are available at [Chroma Styles Gallery](https://xyproto.github.io/splash/docs/all.html). The stylesheet can be generated using the command:
|
List of available syntax highlighting themes are available at [Chroma Styles Gallery](https://xyproto.github.io/splash/docs/all.html). The stylesheet can be generated using the command:
|
||||||
@ -185,21 +62,6 @@ You may add custom scripts to the end of the head for every page by adding the f
|
|||||||
layouts/partials/custom/head-end.html
|
layouts/partials/custom/head-end.html
|
||||||
```
|
```
|
||||||
|
|
||||||
## Custom Footer Section
|
|
||||||
|
|
||||||
You can add a custom section the footer between the language/theme buttons and the "Copyright"/"Powered By" section by creating a file `layouts/partials/custom/footer.html` in your site.
|
|
||||||
|
|
||||||
```html {filename="layouts/partials/custom/footer.html"}
|
|
||||||
<!-- Your footer element here -->
|
|
||||||
```
|
|
||||||
|
|
||||||
Available variables in the footer section are:
|
|
||||||
|
|
||||||
- `.switchesVisible`: `true` if the language/theme button(s) are visible above the footer along with a horizontal separator.
|
|
||||||
- `.copyrightVisible`: `true` if the "Copyright" and "Powered By" text are visible at the bottom of the footer.
|
|
||||||
|
|
||||||
_Note: The custom footer inherits the default footer background color text color and the `width` setting in `hugo.yaml#footer` section._
|
|
||||||
|
|
||||||
## Custom Layouts
|
## Custom Layouts
|
||||||
|
|
||||||
The layouts of the theme can be overridden by creating a file with the same name in the `layouts` directory of your site.
|
The layouts of the theme can be overridden by creating a file with the same name in the `layouts` directory of your site.
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.138.0
|
HUGO_VERSION: 0.131.0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -146,7 +146,7 @@ For more details, check out:
|
|||||||
3. If you are not using [hextra-starter-template][hextra-starter-template], configure the following manually:
|
3. If you are not using [hextra-starter-template][hextra-starter-template], configure the following manually:
|
||||||
- Configure the Build command to `hugo --gc --minify`
|
- Configure the Build command to `hugo --gc --minify`
|
||||||
- Specify the Publish directory to `public`
|
- Specify the Publish directory to `public`
|
||||||
- Add Environment variable `HUGO_VERSION` and set to `0.138.0`, or alternatively, set it in `netlify.toml` file
|
- Add Environment variable `HUGO_VERSION` and set to `0.132.2`
|
||||||
4. Deploy!
|
4. Deploy!
|
||||||
|
|
||||||
Check [Hugo on Netlify](https://docs.netlify.com/integrations/frameworks/hugo/) for more details.
|
Check [Hugo on Netlify](https://docs.netlify.com/integrations/frameworks/hugo/) for more details.
|
||||||
|
@ -95,7 +95,7 @@ Open source projects powered by Hextra
|
|||||||
>}}
|
>}}
|
||||||
|
|
||||||
{{< card
|
{{< card
|
||||||
link="https://github.com/remysheppard/lutheran-confessions"
|
link="https://lutheranconfessions.org/"
|
||||||
title="LutheranConfessions"
|
title="LutheranConfessions"
|
||||||
image="https://github.com/imfing/hextra/assets/5097752/ad6625e4-88cd-4cad-b102-5399997d0359"
|
image="https://github.com/imfing/hextra/assets/5097752/ad6625e4-88cd-4cad-b102-5399997d0359"
|
||||||
imageStyle="object-fit:cover; aspect-ratio:16/9;"
|
imageStyle="object-fit:cover; aspect-ratio:16/9;"
|
||||||
|
@ -173,4 +173,3 @@ params:
|
|||||||
# emitMetadata: 0
|
# emitMetadata: 0
|
||||||
# inputPosition: top
|
# inputPosition: top
|
||||||
# lang: en
|
# lang: en
|
||||||
# theme: noborder_dark
|
|
||||||
|
@ -228,7 +228,6 @@
|
|||||||
"hextra-code-block",
|
"hextra-code-block",
|
||||||
"hextra-code-copy-btn",
|
"hextra-code-copy-btn",
|
||||||
"hextra-code-copy-btn-container",
|
"hextra-code-copy-btn-container",
|
||||||
"hextra-custom-footer",
|
|
||||||
"hextra-feature-card",
|
"hextra-feature-card",
|
||||||
"hextra-feature-grid",
|
"hextra-feature-grid",
|
||||||
"hextra-filetree",
|
"hextra-filetree",
|
||||||
|
@ -8,17 +8,8 @@
|
|||||||
* This solution was created with reference to:
|
* This solution was created with reference to:
|
||||||
* https://github.com/giscus/giscus/issues/336#issuecomment-1214366281
|
* https://github.com/giscus/giscus/issues/336#issuecomment-1214366281
|
||||||
*/
|
*/
|
||||||
function getHugoTheme() {
|
|
||||||
return localStorage.getItem("color-theme");
|
|
||||||
}
|
|
||||||
|
|
||||||
function getGiscusTheme() {
|
function getGiscusTheme() {
|
||||||
let giscusTheme = "{{ (string .theme) | default `light` }}";
|
return localStorage.getItem("color-theme");
|
||||||
if(getHugoTheme() == 'light') {
|
|
||||||
return giscusTheme.replace('dark', 'light');
|
|
||||||
} else {
|
|
||||||
return giscusTheme.replace('light', 'dark');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setGiscusTheme() {
|
function setGiscusTheme() {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{{- $enableFooterSwitches := .Scratch.Get "enableFooterSwitches" | default false -}}
|
{{- $enableFooterSwitches := .Scratch.Get "enableFooterSwitches" | default false -}}
|
||||||
{{- $displayThemeToggle := site.Params.theme.displayToggle | default true -}}
|
{{- $displayThemeToggle := site.Params.theme.displayToggle | default true -}}
|
||||||
{{- $footerSwitchesVisible := and $enableFooterSwitches (or hugo.IsMultilingual $displayThemeToggle) -}}
|
|
||||||
{{- $copyrightSectionVisible := or (.Site.Params.footer.displayPoweredBy | default true) .Site.Params.footer.displayCopyright -}}
|
|
||||||
|
|
||||||
{{- $copyright := (T "copyright") | default "© 2024 Hextra." -}}
|
{{- $copyright := (T "copyright") | default "© 2024 Hextra." -}}
|
||||||
{{- $poweredBy := (T "poweredBy") | default "Powered by Hextra" -}}
|
{{- $poweredBy := (T "poweredBy") | default "Powered by Hextra" -}}
|
||||||
@ -17,7 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<footer class="hextra-footer hx-bg-gray-100 hx-pb-[env(safe-area-inset-bottom)] dark:hx-bg-neutral-900 print:hx-bg-transparent">
|
<footer class="hextra-footer hx-bg-gray-100 hx-pb-[env(safe-area-inset-bottom)] dark:hx-bg-neutral-900 print:hx-bg-transparent">
|
||||||
{{- if $footerSwitchesVisible -}}
|
{{- if $enableFooterSwitches -}}
|
||||||
<div class="hx-mx-auto hx-flex hx-gap-2 hx-py-2 hx-px-4 {{ $footerWidth }}">
|
<div class="hx-mx-auto hx-flex hx-gap-2 hx-py-2 hx-px-4 {{ $footerWidth }}">
|
||||||
{{- partial "language-switch.html" (dict "context" .) -}}
|
{{- partial "language-switch.html" (dict "context" .) -}}
|
||||||
{{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}}
|
{{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}}
|
||||||
@ -26,21 +24,14 @@
|
|||||||
<hr class="dark:hx-border-neutral-800" />
|
<hr class="dark:hx-border-neutral-800" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div
|
|
||||||
class="hextra-custom-footer {{ $footerWidth }} hx-pl-[max(env(safe-area-inset-left),1.5rem)] hx-pr-[max(env(safe-area-inset-right),1.5rem)] hx-text-gray-600 dark:hx-text-gray-400"
|
|
||||||
>
|
|
||||||
{{- partial "custom/footer.html" (dict "context" . "switchesVisible" $footerSwitchesVisible "copyrightVisible" $copyrightSectionVisible) -}}
|
|
||||||
</div>
|
|
||||||
{{- if $copyrightSectionVisible -}}
|
|
||||||
<div
|
<div
|
||||||
class="{{ $footerWidth }} hx-mx-auto hx-flex hx-justify-center hx-py-12 hx-pl-[max(env(safe-area-inset-left),1.5rem)] hx-pr-[max(env(safe-area-inset-right),1.5rem)] hx-text-gray-600 dark:hx-text-gray-400 md:hx-justify-start"
|
class="{{ $footerWidth }} hx-mx-auto hx-flex hx-justify-center hx-py-12 hx-pl-[max(env(safe-area-inset-left),1.5rem)] hx-pr-[max(env(safe-area-inset-right),1.5rem)] hx-text-gray-600 dark:hx-text-gray-400 md:hx-justify-start"
|
||||||
>
|
>
|
||||||
<div class="hx-flex hx-w-full hx-flex-col hx-items-center sm:hx-items-start">
|
<div class="hx-flex hx-w-full hx-flex-col hx-items-center sm:hx-items-start">
|
||||||
{{- if (.Site.Params.footer.displayPoweredBy | default true) }}<div class="hx-font-semibold">{{ template "theme-credit" $poweredBy }}</div>{{- end -}}
|
{{- if (.Site.Params.footer.displayPoweredBy | default true) }}<div class="hx-font-semibold">{{ template "theme-credit" $poweredBy }}</div>{{ end }}
|
||||||
{{- if .Site.Params.footer.displayCopyright }}<div class="hx-mt-6 hx-text-xs">{{ $copyright | markdownify }}</div>{{- end -}}
|
{{- if .Site.Params.footer.displayCopyright }}<div class="hx-mt-6 hx-text-xs">{{ $copyright | markdownify }}</div>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{{- define "theme-credit" -}}
|
{{- define "theme-credit" -}}
|
||||||
|
14
package-lock.json
generated
14
package-lock.json
generated
@ -523,10 +523,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cross-spawn": {
|
"node_modules/cross-spawn": {
|
||||||
"version": "7.0.6",
|
"version": "7.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||||
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"path-key": "^3.1.0",
|
"path-key": "^3.1.0",
|
||||||
"shebang-command": "^2.0.0",
|
"shebang-command": "^2.0.0",
|
||||||
@ -1030,9 +1031,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nanoid": {
|
"node_modules/nanoid": {
|
||||||
"version": "3.3.8",
|
"version": "3.3.7",
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
|
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
|
||||||
"integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==",
|
"integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -1040,6 +1041,7 @@
|
|||||||
"url": "https://github.com/sponsors/ai"
|
"url": "https://github.com/sponsors/ai"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
"nanoid": "bin/nanoid.cjs"
|
"nanoid": "bin/nanoid.cjs"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user