https://github.com/arlac77/svelte-log-view
show log content
https://github.com/arlac77/svelte-log-view
Last synced: 10 months ago
JSON representation
show log content
- Host: GitHub
- URL: https://github.com/arlac77/svelte-log-view
- Owner: arlac77
- License: 0bsd
- Created: 2019-09-02T11:10:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-08-15T22:12:23.000Z (10 months ago)
- Last Synced: 2025-08-16T00:24:05.941Z (10 months ago)
- Language: Svelte
- Size: 17.8 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://svelte.dev)
[](https://www.npmjs.com/package/svelte-log-view)
[](https://spdx.org/licenses/0BSD.html)
[](https://bundlejs.com/?q=svelte-log-view)
[](https://npmjs.org/package/svelte-log-view)
[](https://github.com/arlac77/svelte-log-view/issues)
[](https://actions-badge.atrox.dev/arlac77/svelte-log-view/goto)
[](https://github.com/prettier/prettier)
[](http://commitizen.github.io/cz-cli/)
[](https://snyk.io/test/github/arlac77/svelte-log-view)
[](https://coveralls.io/github/arlac77/svelte-log-view)
[](https://github.com/DevExpress/testcafe)
# svelte-log-view
show log content
# Example
Check out the code in the [tests/app](/tests/app) folder,
or the [live example](https://arlac77.github.io/components/svelte-log-view/tests/app/index.html).
```js
const source = {
abort: async () => { }, //abort data fetching
fetch: async function * f(cursor, number) // fetch entries starting after cursor
{ yield "my log entry 1"; yield "my log entry 2"; }
};
```
Or the [live example](https://svelte-log-view.netlify.app/tests/app/).
# API
## Table of Contents
# install
With [npm](http://npmjs.org) do:
```shell
npm install svelte-log-view
```
With [yarn](https://yarnpkg.com) do:
```shell
yarn add svelte-log-view
```
# license
BSD-2-Clause