# sms-plugin---url-state

> State Machine Snack plugin for url state

Latest version **1.0.3** (published 2022-01-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install sms-plugin---url-state
pnpm add sms-plugin---url-state
yarn add sms-plugin---url-state
bun add sms-plugin---url-state
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-01-20 |
| First published | 2021-09-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 116.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | State Machine Snacks |
| Maintainers | james_revans |

## Links

- npm: https://www.npmjs.com/package/sms-plugin---url-state
- Repository: https://github.com/James-revans/sms-plugin---url-state
- Issues: https://github.com/James-revans/sms-plugin---url-state
- npm.io page: https://npm.io/package/sms-plugin---url-state

## Dependencies (5)

- [path](https://npm.io/package/path.md) ^0.12.7
- [xstate](https://npm.io/package/xstate.md) ^4.25.0
- [lz-string](https://npm.io/package/lz-string.md) ^1.4.4
- [@rollup/plugin-alias](https://npm.io/package/@rollup/plugin-alias.md) ^3.1.5
- [state-machine-snacks](https://npm.io/package/state-machine-snacks.md) ^1.0.5

## Recent versions

- 1.0.3 (latest) — 2022-01-20
- 1.0.2 — 2021-09-29
- 1.0.1 — 2021-09-22
- 1.0.0 — 2021-09-22

## README

[⬅ Back to 🔌](https://github.com/qudo-lucas/state-machine-snacks/blob/main/docs/plugin-development.md)

# 🔌 Plugin Development Template

Template for developing [State Machine Snacks](https://github.com/qudo-lucas/state-machine-snacks) plugins.

| Script | Description |
| ---    | ---         |
| `npm run dev` | Start the dev server. |
| `npm run build` | Build project. |
| `npm run serve` | Serve a static copy of the build.|

```javascript
export default (options = {}) => ({
    config : (config = false) => {
        // Modify state machine config.
        // Utilize configEditor when possible.

        // Must return object to be new config.
    },

    service : (config = false, service = false) => {
        // Access the service as well as the config used to generate the service.

        // Doesn't need to return anything.
    },
});

// You can export helper functions for the users of your plugin.
const exampleHelper = () => {

};

export {
    exampleHelper,
};
```

---
_Source: https://npm.io/package/sms-plugin---url-state · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
