{"id":26090606,"url":"https://github.com/kazewaze/recessjs","last_synced_at":"2026-04-07T16:30:59.711Z","repository":{"id":57349168,"uuid":"425185657","full_name":"kazewaze/recessjs","owner":"kazewaze","description":"Eazy Peazy Playground Components for React.js","archived":false,"fork":false,"pushed_at":"2023-07-15T20:15:45.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-20T14:26:02.696Z","etag":null,"topics":["articles","blog","code-editor","components","editable","front-end","javascript","js","jsx","live-edit","nodejs","playgrounds","react","react-live","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kazewaze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-06T07:46:12.000Z","updated_at":"2025-06-25T18:54:42.000Z","dependencies_parsed_at":"2022-08-29T14:01:19.639Z","dependency_job_id":null,"html_url":"https://github.com/kazewaze/recessjs","commit_stats":null,"previous_names":["kayceeingram/recessjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kazewaze/recessjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazewaze%2Frecessjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazewaze%2Frecessjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazewaze%2Frecessjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazewaze%2Frecessjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazewaze","download_url":"https://codeload.github.com/kazewaze/recessjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazewaze%2Frecessjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["articles","blog","code-editor","components","editable","front-end","javascript","js","jsx","live-edit","nodejs","playgrounds","react","react-live","reactjs"],"created_at":"2025-03-09T09:35:12.955Z","updated_at":"2026-04-07T16:30:59.694Z","avatar_url":"https://github.com/kazewaze.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Recess.js\n\u003c/h1\u003e\n\n## Version 1.0 is Ready! More Features and Official Docs Coming Soon!\n\nEazy Peazy Playground Components for React.js (Just Plug and Play)\n\nRecess.js is built on top of [React-Live](https://github.com/FormidableLabs/react-live), an awesome project by [Formidable](https://formidable.com) for building a Playground Component.\n\nThe current 1.0 version of Recess.js is ready for use. For simple usage I have provided basic instructions below until the Docs are completed.\n\nIf you want to use a different theme go here to see the other choices:\n\n[Available Themes](https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes)\n\nInstall Recess.js with npm or yarn:\n\n```console\nnpm install recessjs\n```\nor\n```console\nyarn install recessjs\n```\nOnce installed you simply import Recess.js into your React App.\n\nHere is an Example:\n\n```jsx\nimport Recess from 'recessjs';\nimport './App.css';\n\n// Used below to show an example but not required.\nimport styled from 'styled-components';\n\n/*\n  Recess.js is the only thing you need to install.\n  You only need to import 3 things (Recess, Your code \u0026 Theme).\n  (Or only 2 things since a default theme is in place)\n  1.) import Recess from 'recessjs';\n  2.) import code from './code.js';\n  3.) import theme from 'prism-react-renderer/themes/\u003ctheme-name\u003e';\n  The themes that you can import and use are located at:\n  https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes\n*/\n\n// A JavaScript file to store the code for Recess.js\nimport code from './code';\n\n// The chosen theme for Recess.js\n// Change \"github\" to the name of the theme you want.\n// Eazy Peazy! Dracula is the default.\nimport theme from 'prism-react-renderer/themes/github';\nimport otherTheme from 'prism-react-renderer/themes/dracula';\n\nfunction App() {\n  return (\n    \u003cdiv className=\"App\"\u003e\n      {/* Works because of default settings */}\n      \u003cRecess /\u003e\n      \u003cp\u003eOR\u003c/p\u003e\n      {/* Your chosen code to be rendered in Recess.js */}\n      \u003cRecess code={code} /\u003e\n      \u003cp\u003eOR\u003c/p\u003e\n      {/* Your chosen code and theme */}\n      \u003cRecess code={code} theme={theme} /\u003e\n      \u003cp\u003eOR\u003c/p\u003e\n      {/* dep is your chosen dependencies like styled-components */}\n      {/* Install them within your main app and import. */}\n      {/* Then pass them to dep. */}\n      {/* To pass multiple dependencies place them in an object. */}\n      {/* Like this: dep={{styled, bulma, etc.}}  */}\n      \u003cRecess code={code} theme={theme} dep={styled} /\u003e\n      \u003cp\u003eOR\u003c/p\u003e\n      {/* filename is set to 'App.js' by default. */}\n      {/* The filename is displayed at the top of Recess.js  */}\n      {/* onInline is set to true by default. Pass it false if desired. */}\n      \u003cRecess\n        code={code}\n        theme={theme}\n        dep={styled}\n        filename={\"NameOfMyApp.js\"}\n        onInline={false}\n      /\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\nHere is a snapshot of Recess.js without any arguments.\nBehold in all of it's default goodness:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg style=\"max-width: 750px\" height=\"75%\" src=\"https://raw.githubusercontent.com/KayceeIngram/assets-holder/main/Recessjs_Default.png\" alt=\"Recess.js Default Example\"/\u003e\n\u003c/p\u003e\n\n**It is REQUIRED to include the render function at the end of each react app as you can see in the code.js file example below:**\n\n```jsx\nconst code = `const App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003ch1\u003eHello Kaycee!\u003c/h1\u003e\n    \u003c/div\u003e\n  );\n}\n\nrender(\u003cApp/\u003e);\n`;\n\nexport default code;\n```\n\nYou could also export an object with multiple code examples for Recess.js like so:\n\n```jsx\nconst code = {\n  firstExample:\n    `const AppOne = () =\u003e {\n       return (\n         \u003cdiv\u003e\n           \u003ch1\u003eHello Kaycee!\u003c/h1\u003e\n         \u003c/div\u003e\n       );\n     }\n\n     render(\u003cApp/\u003e);`,\n  secondExample:\n    `const AppTwo = () =\u003e {\n       return (\n         \u003cdiv\u003e\n           \u003ch1\u003eHello William!\u003c/h1\u003e\n         \u003c/div\u003e\n       );\n     }\n\n     render(\u003cApp/\u003e);`\n};\n```\n\nRoadmap:\n  - Toolbar option (copy-to-clipboard, reset-code, save, etc.)\n  - The rest is Top Secret =)\n\nCheers\n\nKaycee Ingram\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazewaze%2Frecessjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazewaze%2Frecessjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazewaze%2Frecessjs/lists"}