svelte-command

3.0.5 • Public • Published

Svelte v5 npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status Tested with TestCafe

svelte-command

general command execution handling for svelte components

API

Table of Contents

BasicCommand

Parameters

  • start
  • properties
  • options (optional, default {})

subscribe

Parameters

Command

Extends BasicCommand

Parameters

  • _start
  • options (optional, default {})

Properties

ConfirmCommand

Extends BasicCommand

Ask for confirmation before execution a given Command.

Parameters

  • command

FetchCommand

Extends Command

Command executing a fetch request.

Parameters

  • url any
  • fetchOptions Object
  • options Object (optional, default {})

handleFailedResponse

Extract error description from response.

Parameters

Returns Promise<string>

install

With npm do:

npm install svelte-command

With yarn do:

yarn add svelte-command

license

BSD-2-Clause

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.5
0latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.5
0
3.0.4
269
3.0.3
919
3.0.2
0
3.0.1
1
3.0.0
1
2.0.1
1
2.0.0
0
1.1.51
0
1.1.500
1.1.490
1.1.480
1.1.470
1.1.460
1.1.450
1.1.440
1.1.430
1.1.420
1.1.410
1.1.400
1.1.390
1.1.380
1.1.370
1.1.360
1.1.350
1.1.340
1.1.330
1.1.320
1.1.310
1.1.300
1.1.290
1.1.280
1.1.271
1.1.260
1.1.250
1.1.240
1.1.230
1.1.220
1.1.210
1.1.200
1.1.190
1.1.180
1.1.170
1.1.160
1.1.150
1.1.140
1.1.130
1.1.120
1.1.110
1.1.100
1.1.90
1.1.80
1.1.70
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.10
1.0.00

Package Sidebar

Install

npm i svelte-command

Weekly Downloads

1,066

Version

3.0.5

License

BSD-2-Clause

Unpacked Size

17.5 kB

Total Files

8

Last publish

Collaborators

  • arlac77