{"_id":"@ber4tbey/insta.js","name":"@ber4tbey/insta.js","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ber4tbey/insta.js","version":"1.0.0","description":"Object-oriented library for sending and receiving messages via Instagram","main":"src/index.js","types":"./typings/index.d.ts","author":{"name":"Ber4tbey","email":"Beratbey@ber4tbey.org"},"license":"MIT","bugs":{"url":"https://github.com/Ber4tbey/insta.js/issues"},"exports":{".":[{"require":"./src/index.js","import":"./esm/index.mjs"},"./src/index.js"],"./esm":"./esm/index.mjs"},"scripts":{"docs":"docgen --source src --custom docs/index.yml --output docs/docs.json","docs:test":"docgen --source src --custom docs/index.yml"},"homepage":"https://github.com/Ber4tbey/insta.js#readme","dependencies":{"@discordjs/collection":"^0.1.6","get-urls":"^10.0.0","instagram-private-api":"^1.41.0","instagram_mqtt":"^0.2.16","jimp":"^0.16.0","node-fetch":"^2.6.0"},"devDependencies":{"discord.js-docgen":"github:discordjs/docgen","eslint":"^7.7.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1"},"gitHead":"083316aa27e08c1e24e3e11f57bbcc7dec37d237","_id":"@ber4tbey/insta.js@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-OhII/lEQvJEU167Bw7nI7Cg32oNtw9svSvtWCyw7BSfFdQ1ZEoHgkk37gjpWFO2dbTFMw2sbgesPP9dNSV2NLw==","shasum":"2cd856e37fb328e21f15ecad3a79078713228c2a","tarball":"https://registry.npmjs.org/@ber4tbey/insta.js/-/insta.js-1.0.0.tgz","fileCount":18,"unpackedSize":313954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0gk2y7YOIJXp5x4woDBr9WEpgOTbM2R2Y9rUsLjtocgIgODGXdVnTUzyynjr/9RNh9HmhR+4TVIHqEywIfvMtXa0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuuj2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzRQ/+I2/0aWdTSCwi729c2DjK51FZ92fFZcEkO/k1HDkJyE5oHjIj\r\nKFSvs9p4hOMQFIky3gu3HdwaBFQvCmq7uHfCYYXBLXkVOEZ6TMALJCSuiCRT\r\n6rH3CqmH69p5h3CxsyQh6a30NCFHS0w9iUAO5RmkxPJ63/pqmALXHkOiEAXs\r\nOl2a53YWNq93N1ghf85k9ZBgILNBD3drbTshDiAhHLTSSKKwiO/qamCwcCVJ\r\n35iXegL6ysX2Kq50+dZq91c48Zw4N2xKowOSDcl1CBCoSzFVmDC863/F/O/H\r\nB33jO9TxnGzjm3gocCCDkinPSwB8hiAfR7tgqxS2JLWAiOQHeNHL0uDH3ZjA\r\nlf44BpFAfDH/l2VMaf1Lf2kDhukdNWerOgjMdYWyRvi0UdUyxyUJXCHLqdoP\r\nQjTPWoeiusSI9gphpuXy/wLgdHt6jdTraViPZK7fMnvsBx34n2hAhNyMZzRx\r\nKW4D/odwPBwMKkv25k25rQv0AOdCbFgR0cBxqzT6QcklMDMGNLWD8vlSPuR0\r\npAcI0rarT371NAK3z2eM1rkH9DOXH3PxmgVOZAVpznkJqBBaxCm/vcoZ5Gsu\r\n5rYMahjGph5AyNOlnOKZjSwUPTZ9I9vbqC+fFVD2kpHRwXEjUmWPtXMJYufB\r\nK8WJ/BrEDDH29G2pI4SQOr+B9ybkrQbOGgY=\r\n=eZSa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ber4tbey","email":"beratbeywinchester@gmail.com"},"directories":{},"maintainers":[{"name":"ber4tbey","email":"beratbeywinchester@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/insta.js_1.0.0_1656416502244_0.29197441939405566"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-28T11:41:42.133Z","1.0.0":"2022-06-28T11:41:42.476Z","modified":"2022-06-28T11:41:42.639Z"},"maintainers":[{"name":"ber4tbey","email":"beratbeywinchester@gmail.com"}],"description":"Object-oriented library for sending and receiving messages via Instagram","homepage":"https://github.com/Ber4tbey/insta.js#readme","author":{"name":"Ber4tbey","email":"Beratbey@ber4tbey.org"},"bugs":{"url":"https://github.com/Ber4tbey/insta.js/issues"},"license":"MIT","readme":"<img width=\"150\" height=\"150\" align=\"left\" style=\"float: left; margin: 0 10px 0 0;\" alt=\"Xiao\" src=\"https://i.goopics.net/PO1L4.png\">\r\n\r\n# [Insta.js](https://npmjs.com/@ber4tbey/insta.js)\r\n\r\n💬 Object-oriented library to interact with Instagram! Based on **[instagram-private-api](https://github.com/dilame/instagram-private-api)**, it is very similiar to **[discord.js](https://npmjs.com/discord.js)**.\r\n\r\n## Installation\r\n```\r\nnpm install @ber4tbey/insta.js\r\n```\r\n\r\n## Example\r\n\r\nHere is a simple ping command made with the library:\r\n\r\n```js\r\nconst Insta = require('@ber4tbey/insta.js');\r\n\r\nconst client = new Insta.Client();\r\n\r\nclient.on('connected', () => {\r\n    console.log(`Logged in as ${client.user.username}`);\r\n});\r\n\r\nclient.on('messageCreate', (message) => {\r\n    if (message.author.id === client.user.id) return\r\n\r\n    message.markSeen();\r\n\r\n    if (message.content === '!ping') {\r\n        message.reply('!pong');\r\n    }\r\n});\r\n\r\nclient.login('username', 'password');\r\n```\r\n## Owner\r\n[![Androz2091](https://github.com/Androz2091.png?size=100)](https://github.com/Androz2091) \r\n---|\r\n[Androz](https://t.me/Androz2091)   \r\nAuthor\r\n\r\n## Maintainers\r\n[![Ber4tbey](https://github.com/Ber4tbey.png?size=100)](https://github.com/Ber4tbey) \r\n---|\r\n[Ber4tbey](https://t.me/Ber4tbey)   \r\nMaintainer \r\n\r\n## Credits\r\n\r\n🧡 Big thanks to **[Nerixyz](https://github.com/Nerixyz)** and **[dilame](https://github.com/dilame)** for their libraries.* [Androz2091](https://github.com/Androz2091)\r\n","readmeFilename":"README.md"}