{"id":16983846,"url":"https://github.com/kelvinbiffi/mariotextgeneratorjsplugin","last_synced_at":"2025-03-22T00:28:44.912Z","repository":{"id":98911241,"uuid":"170532236","full_name":"kelvinbiffi/MarioTextGeneratorJSPlugin","owner":"kelvinbiffi","description":"JavaScript Plugin To Generate Super Mario Text Phrases","archived":false,"fork":false,"pushed_at":"2021-10-28T04:26:08.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T18:46:44.071Z","etag":null,"topics":["hacktoberfest","javascript-plugin","mario"],"latest_commit_sha":null,"homepage":"https://kelvinbiffi.github.io/MarioTextGeneratorJSPlugin/","language":null,"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/kelvinbiffi.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}},"created_at":"2019-02-13T15:35:28.000Z","updated_at":"2021-10-28T04:26:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3128832-f6cb-4ee4-8b83-4d12fe5716f6","html_url":"https://github.com/kelvinbiffi/MarioTextGeneratorJSPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinbiffi%2FMarioTextGeneratorJSPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinbiffi%2FMarioTextGeneratorJSPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinbiffi%2FMarioTextGeneratorJSPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinbiffi%2FMarioTextGeneratorJSPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelvinbiffi","download_url":"https://codeload.github.com/kelvinbiffi/MarioTextGeneratorJSPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890134,"owners_count":20527030,"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":["hacktoberfest","javascript-plugin","mario"],"created_at":"2024-10-14T02:29:29.630Z","updated_at":"2025-03-22T00:28:44.901Z","avatar_url":"https://github.com/kelvinbiffi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mario Text Generator JS Plugin\n\nMarioTextGeneratorJSPlugin is a JavaScript plugin for generate text paragraths and sentences with Mario World words.\n\n## Installation\n\n[CDNScript](https://cdn.jsdelivr.net/gh/kelvinbiffi/MarioTextGeneratorJSPlugin@master/dist/MarioIpsum.js)\n\nor \n\nClone the repository and download de Script\n\n## Usage\n\nThis first snippet is aleady executed by the MIpsum Plugin\n```javascript\nvar mis = [].slice.call(document.querySelectorAll('[data-mario]'));\nmis.forEach(function (mie) {\n  var marioIpsum = new MIpsum;\n  marioIpsum.element = mie;\n  marioIpsum.createText();\n});\n```\n\nParameters values:\n * TYPE: PARAGRAPH or SENTENCE\n * LENGTH: LENGTH OF THE PARAGRAPH or SENTENSE YOU WANT\n * MODE: SHORT, MEDIUM or LONG (MODE is optional to deffine whether text would be shortest or longest, default value is set as MEDIUM)\n\nThe pattern is TYPE LENGTH MODE, see the below example to know more or access the link [Text Generator](https://kelvinbiffi.github.io/MarioTextGeneratorJSPlugin/)\n \nTo use for specifics element using javascript, follow the below pattern\n```javascript\n// Interval to wait Plugin exists\nvar waitMIpsum = setInterval(function () {\n  if (MIpsum) {\n    clearInterval(waitMIpsum);\n    \n    // Usege to specific element\n    var marioIpsum = new MIpsum;\n    marioIpsum.element = document.querySelector('selector of element');\n    marioIpsum.createText('PARAGRAPH', 3, 'MEDIUM');\n  }\n}, 100);\n```\n\nTo use for specifics element using html only, follow the below pattern\n```html\n\u003c!--Interval to wait Plugin exists--\u003e\n\u003ctextarea data-mario=\"SENTENCE|3|LONG\"\u003e\u003c/textarea\u003e\n\u003c!-- OR --\u003e\n\u003cdiv data-mario=\"PARAGRAPH|3|SHORT\"\u003e\u003c/div\u003e\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinbiffi%2Fmariotextgeneratorjsplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelvinbiffi%2Fmariotextgeneratorjsplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinbiffi%2Fmariotextgeneratorjsplugin/lists"}