{"id":13467662,"url":"https://github.com/diegofelipece/mussum-ipsum","last_synced_at":"2026-02-21T02:01:29.290Z","repository":{"id":30350571,"uuid":"33903010","full_name":"diegofelipece/mussum-ipsum","owner":"diegofelipece","description":"JS/TS Lorem Ipsum generator","archived":false,"fork":false,"pushed_at":"2023-06-01T17:13:13.000Z","size":4561,"stargazers_count":177,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2026-02-03T02:31:18.073Z","etag":null,"topics":["dummy-text","javascript","lorem-ipsum","lorem-ipsum-generator","mussum-ipsum","typescript"],"latest_commit_sha":null,"homepage":"http://mussumipsum.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegofelipece.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["diegofelipece"]}},"created_at":"2015-04-14T01:10:25.000Z","updated_at":"2026-01-29T18:37:12.000Z","dependencies_parsed_at":"2024-01-12T03:02:21.832Z","dependency_job_id":null,"html_url":"https://github.com/diegofelipece/mussum-ipsum","commit_stats":{"total_commits":129,"total_committers":4,"mean_commits":32.25,"dds":"0.046511627906976716","last_synced_commit":"f9875815cf87eb76b17dc9238444c4e8a0df9cc9"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/diegofelipece/mussum-ipsum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegofelipece%2Fmussum-ipsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegofelipece%2Fmussum-ipsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegofelipece%2Fmussum-ipsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegofelipece%2Fmussum-ipsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegofelipece","download_url":"https://codeload.github.com/diegofelipece/mussum-ipsum/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegofelipece%2Fmussum-ipsum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dummy-text","javascript","lorem-ipsum","lorem-ipsum-generator","mussum-ipsum","typescript"],"created_at":"2024-07-31T15:00:59.030Z","updated_at":"2026-02-21T02:01:29.267Z","avatar_url":"https://github.com/diegofelipece.png","language":"TypeScript","funding_links":["https://github.com/sponsors/diegofelipece"],"categories":["TypeScript"],"sub_categories":[],"readme":"# mIpsum\n\nThis is a Javascript Lorem Ipsum generator, created for [mussumipsum.com](http://mussumipsum.com), a brazilian dummy text generator. You can use it to develop anything that concerns Mussum Ipsum (like a plugin for Sublime or Atom or whatever), or to create your own customized Lorem Ipsum.\n\n____\n\nAdd it to your project using **NPM**:\n\n``` bash\nnpm install mipsum --save\n\n```\n\nSince `v2.3.2` it can be also imported as a module. Example:\n\n``` javascript\nimport { mIpsum } from 'mipsum'\n\nconst myLoremIpsum = mIpsum({\n  pNum: 1,\n  resultType: 'text',\n})\n```\n\nYou can also just download the code, add **mipsum.min.js** to your project and call it on your JS.\n\n``` html\n\u003cscript src=\"path/to/mipsum.min.js\"\u003e\u003c/script\u003e\n```\n\nmIpsum was created using vanilla Javascript, to allow you to decide if you want to include it in any context, some use examples:\n\n#### vanilla JS\n\n``` javascript\nconst mussumIpsum = mIpsum({ pNum: 10 }); // Put how many paragraphs you want\ndocument.querySelector('body').innerHtml = mussumIpsum;\n```\n\n#### the same thing with jQuery\n\n``` javascript\nconst mussumIpsum = mIpsum({ pNum: 10 });\n$('body').append(mussumIpsum);\n```\n\nThere are other customized options available to you. More examples at **demo/**\n\n### Options\n\nKey | Type | Default | Description\n--- | --- | --- | ---\npNum | Number | `1` | Number of paragraphs requested\nquotes | Array | `mussumQuotes` | Array of quotes to generate paragraphs\nmainQuote | String | `mussumMainQuote` | Main quote to start your \"Lorem Ipsum\"\ngenLimit | Number | `1000` | Limit of paragraphs that can be requested\nresultType | String | `html` | Format of the response, choose between: `html`, `text` or `array`\ntagBefore | String | `\u003cp\u003e` | Anything you want to put before each paragraph (valid only with `html` resultType)\ntagAfter | String | `\u003c/p\u003e` | Anything you want to put after each paragraph (valid only with `html` resultType)\npQuotes | Number | `4` | Number of quotes used to build a paragraph\n\nThe options can be set on an object passed as a parameter, like the example below:\n\n``` javascript\nmIpsum({\n  pNum: 1,\n  quotes: [\n    'Hi, my name is, what?',\n    'My name is, who?',\n    'Hi, my name is, huh?',\n    'My name is, chka-chka',\n  ],\n  mainQuote: 'Slim Shady',\n  genLimit: 1000,\n  resultType: 'html',\n  tagBefore: '\u003cp\u003e',\n  tagAfter: '\u003c/p\u003e',\n  pQuotes: 4\n});\n```\n\n___\n\n## To contribute\n\nFork the repository, fork and clone it on your local folder. Create your `feature/` branch from `develop`.\n\nTo start developing, just run `npm install` to install all packages (last time we used Node v13.13.0), and then you need to run two cmds:\n  - `npm run build` (or `npm run build -- --watch`) that should build \n  - `npm start` should launch a live demo at your `http://localhost:8080`\n\n____\n\n## Related Projects\n\n- [Mussum Ipsum REST API](https://github.com/wilkerHop/mussum-ipsum-api)\n\n____\n\nCreated by [Diego Esteves](http://diegoesteves.ink) under The MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegofelipece%2Fmussum-ipsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegofelipece%2Fmussum-ipsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegofelipece%2Fmussum-ipsum/lists"}