{"id":19501145,"url":"https://github.com/gitbookio/slate-no-empty","last_synced_at":"2025-04-25T23:30:58.114Z","repository":{"id":57362928,"uuid":"93874776","full_name":"GitbookIO/slate-no-empty","owner":"GitbookIO","description":"Slate plugin to prevent the document from being empty","archived":false,"fork":false,"pushed_at":"2017-06-09T15:56:55.000Z","size":26,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T14:59:26.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitbookIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-09T15:55:13.000Z","updated_at":"2022-01-10T22:46:38.000Z","dependencies_parsed_at":"2022-09-26T18:12:02.063Z","dependency_job_id":null,"html_url":"https://github.com/GitbookIO/slate-no-empty","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fslate-no-empty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fslate-no-empty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fslate-no-empty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fslate-no-empty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitbookIO","download_url":"https://codeload.github.com/GitbookIO/slate-no-empty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912660,"owners_count":21506865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T22:11:38.051Z","updated_at":"2025-04-25T23:30:57.564Z","avatar_url":"https://github.com/GitbookIO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slate-no-empty\n\n[![NPM version](https://badge.fury.io/js/slate-no-empty.svg)](http://badge.fury.io/js/slate-no-empty)\n[![Linux Build Status](https://travis-ci.org/GitbookIO/slate-no-empty.png?branch=master)](https://travis-ci.org/GitbookIO/slate-no-empty)\n\nA Slate plugin to prevent the document from being empty.\n\n### Install\n\n```\nnpm install slate-no-empty --save\n```\n\n### Usage\n\n```js\nimport NoEmpty from 'slate-no-empty'\n\nconst plugins = [\n  NoEmpty('paragraph')\n  // or NoEmpty(Block.create({ type: 'image', isVoid: true }))\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fslate-no-empty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbookio%2Fslate-no-empty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fslate-no-empty/lists"}