{"_id":"@aidenhadisi/doublylinkedlist","_rev":"6-b95e462258e5d09cd7e3dedc447f5cc3","name":"@aidenhadisi/doublylinkedlist","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.0.0","description":"A doubly linked list library for js.","type":"module","exports":"./dist/index.js","engines":{"node":">=12"},"scripts":{"build":"del dist && tsc","prepare":"npm run build"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","gitHead":"8793db7ab9048c2c6c36720a2da1a212f7b7ae29","_id":"@aidenhadisi/doublylinkedlist@1.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-FdLU/wXjAlKcZUoKiPV0dthatXcrnJjcLimd62aIkGE07/068vkwIR4gw5R+hM6onWFaKebHuTLWccwO7c6iyg==","shasum":"f74b4f70874ece4605fba95226dfee90e12a9800","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.0.0.tgz","fileCount":9,"unpackedSize":6908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIbmUCRA9TVsSAnZWagAARk4P/jvOGDxHgYLCgAG8nFri\nN61M6Xqqpu259UyZe65aMA2L1qIqdcEZPpt8ysNMwHfQNpkpWfvlY4xLfJPP\nCscqUv+8xyLQk9sm0TYJBEDkP9Do06/ido0ElxSis8BQR18nUGQs2kZd+uBm\ni9JPAxu+tGG/sExwshcMzlotZc6IStk12oCcTbxaI2q4jVE2s8tiz3j4mwRI\nI4676U+yMpNFMeLwIKiobJlcppP2qMDE6SFH2IIBJC8Z8qfpHpNJzsK3lsH3\nK2UH0F3vU/kHK+48cJ27JFOS/UFqc2VfNN0thEvRluOfTC63VP8M7bQueUae\n60EScmXwo/46EHKIMzryw+INUAvckroggoDTZf2D8NRau7cb/1Zi9EpUtWQJ\n4jjq+JugXmLSH+s006465kpHtWR9bo7M5CW7IDK18MPFqwKEHH8k2RLsHJly\nyU+Mk6yH9I2jgWcM0HVkthjPtzt0YS7lIHe8G6/szQ6d0jwAuwD2okj55JUz\n4k09dN1jdiOUDpfi1S0QfSKtduNe7r7jsidI+3fk5YlIJftC3211CYSUA9Rz\nB5TMHX/v6EknGg30d5PvOU2xbJuY/Jt7FDPwTpqLIWBFFX0tkfkdpB4YFJph\nbP92JJGaH3b9aCupymHt8uTyoZKUHklE/YcHzHdKEVC+4gTc0kKIu8FI0kzh\ngwy7\r\n=rYed\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPzmHrnJbh8ZTboL8HHSU4EEn5LGGE0Jrjx4Iu8VlsNAIhANH2YIWJE6rb54m8O+9ZDVh7zANuoBxUEhytkVzryxq0"}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.0.0_1629600147964_0.005739745814081099"},"_hasShrinkwrap":false},"1.1.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.1.0","description":"A doubly linked list library for js.","type":"module","exports":"./dist/index.js","engines":{"node":">=12"},"scripts":{"build":"del dist && tsc","prepare":"npm run build"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","gitHead":"1dbc4cde5fc6d06a352797c3bcbba0b9873e88e9","_id":"@aidenhadisi/doublylinkedlist@1.1.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-2VmHfNu1Q86fmA190KaAVwPJeP3Wwy9l4pjKTkFH4YOfEXqDCGV8lUY+kLzjAU5k7TejfIjVfgx8HIb/BEi4ZQ==","shasum":"2581a65aebb31476e3095c0c94af800d916defc1","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.1.0.tgz","fileCount":12,"unpackedSize":9975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIeMGCRA9TVsSAnZWagAADOsQAJmnXzU7Y3dDHWdDJ5CU\nl5en97Wyz1TZbAMMqBKn1qmohPAsOm5pTUtHoIxaIie4m39Lzr3P8nFo+PNW\nxqaGxEo6Jc0hZM2sxq23i51mtF4LAcQJbDjms5ACs7URYCUHDdW55gXf4bJZ\nh5n1zwAbI6yDz6JBiNNDsCRmaP0gxwJIIf8Pvg5dyIP1tTnW90lmnA0eu9fb\nS1j5qkYWRVBsyWAa8/HhT0qb9v/0rJSxNGurfW+ib6Dw1GtjmAWCt+l72zqL\neIR91Jf7mjXOks+bQf22BDOTjjA0w4AEZgZqK7GmTSdbKK89qbiaga3XmClJ\nlNtGuzHJxZO6ALUCEWM82SwNRYVm892syZ7sqcw+9wHkqtsoBavR7P97RFGM\nCxETHBO8sd8VaZP0rRFDHOVFdAmmF/YvptTr9pvMGchqpRtZnyLyTjlGP514\nU8WlBy1s4kPinjYBFGiYHZZORgJbgzvrGZTogPbfMy566f5R2C/5LtbaKXc/\nCmBVH3hgTaS0xtsW7eulJwsTIeiiqMVBZG1tEVPfPNVicTPJyJi+CbE5X+fh\n01dbegYMRBc3f/oe6XO09IntPRxnXqyvdKJxOylFO9bUe/4j7O6Az+rwgjKi\not7HTPb6bNpwiFdM9Y3IiHdNccd6800OQA3EDYdq2Ys3qgof9+fSYk32dCyr\n4l8r\r\n=MxX7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL9hlCQ8hHK1vudTYqOAAjV2tTYSXWxhE8LC5vVULiNQIgYJwgNWmf8h5zbxzbTRnibJangTOFUP4xsuFvgM14avc="}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.1.0_1629610758574_0.5804958940397293"},"_hasShrinkwrap":false},"1.2.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.2.0","description":"A doubly linked list library for js.","exports":"./dist/index.js","types":"dist/index.d.ts","type":"module","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rimraf ./dist","prepare":"yarn clean && yarn build"},"repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","licenseText":"MIT License\n\nCopyright (c) Aiden Hadisi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@aidenhadisi/doublylinkedlist@1.2.0","dist":{"shasum":"61a4272c041bece8bfc2e08a0fbc1e59400be670","integrity":"sha512-YqWoOcGuufnwzHWQj+PnTr1CEM1sQDsc2HupfLvmCNOJn7epxV+Ez9xDZmmHaS+Pgl78LkJ++cwYJGb2Lbbr9g==","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.2.0.tgz","fileCount":9,"unpackedSize":7726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJqN6CRA9TVsSAnZWagAAwwcP/Rs9DjSZOvkgJA1Za/NU\nlqWqddbl53Gl8FsIFU79Pno7NOr8ZuNO1Gx7Yigc7pJ+C0JFXA48pf7gwzoB\nC2PiNz03iv9jeucacIZ/uKSv/8p7k5ZDsj2O0STu3Vl7ZGkocTJr1ssbUI61\n0scVt7yZUzMsqsJJPeS7UIAt2phsKo8J3woqFYTMX3zVajmODaObbHwIP/HP\n6Wfje8HNSP+9GeE1tBKZtjjh9sEXbPa2qDLCxsE2IGkYaX60eltJzIBPNrYa\ndtPVVV7aPbbzL6hAVO1baxiRWWf3aKCHI9SyFXHMHarjLj2ZNVKzBLGGqTvX\nn1sfwVRGU2GBg2IjS2pF7K6jkRlzx553qEOjWB56lHPC0bnG+tMJMPjpI79K\nDc2rC4Ly0eEFQNkVC+Qphka9KKDSdyuZlE3rGbGCTl7WsR2MsD0tSTtGZU1k\nPqKQ864gmCyjdQ7uYCvirX44AD5h7HW04QfI8S0I5GHa292CSnK+xjVI08qo\ndMv/vQtELJiBZlbwjcRYWtk5WLchc+pI8nErqwDJ4Z90uaojhZJgvsDgHUAN\ngUtBkuAo21tBCgrTiZtUiM2dQ78NwjVPmXe6+ux+uA2b3kkJQeodyxMEo1A7\nunuEIzywLAe6I6hicGE1PoAjvrJRqGlTvPsEvm3qjNE1SamQ0o7y7ZFDnQvf\nb1l7\r\n=+Fp7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/jahsfIKYTAsUx4BPAEnlKAJWZfMVh8B9E+9qFgz20QIgOfK4EVOzJxjprSPDhT8ntrzhItomiLdIksQGKmMFTWE="}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.2.0_1629922170517_0.9783102383974203"},"_hasShrinkwrap":false},"1.3.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.3.0","description":"A doubly linked list library for js.","exports":"./dist/index.js","types":"dist/index.d.ts","type":"module","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rimraf ./dist","prepare":"yarn clean && yarn build"},"repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","licenseText":"MIT License\n\nCopyright (c) Aiden Hadisi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@aidenhadisi/doublylinkedlist@1.3.0","dist":{"shasum":"4995df95f0999f0b023942afdeacb7bef9430c56","integrity":"sha512-Y1JPRS/XFtfvebYkrX12H3pvFl87GQbxIr/F4sIeqfjFWzIqzuSvMAMXaumuE7fKHipkHwV0FgkhjJXhL8mo0A==","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.3.0.tgz","fileCount":9,"unpackedSize":8087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJqrUCRA9TVsSAnZWagAAVtYP/22tFFtbcv9BdpyCsrdx\n2xgNgW1FVv9Sjtz0m07xPlGND2SrzSeS3Q5KQ9Ol4QaHyTvkkg3+kYkFRK/3\nefaAKjeZ6R559vPKydjZi6dwqyO26ga2dPodtZToqVafCJTfVem6hdziXu2v\nX46VQ3LSqqxRbqDNZ6BLKrrsDNPdI6hfqqoK8xGVZ8sBpxVKGspyMhUL/+J6\n7qrqw8U6fahU9su+L1yez3pVXQ7oqJ1OoKEPdXOoxYpLmFkIm07B+CJz3sRj\nMoOlEUJIYw/Ovp9Q5+ECtJJGXIK/4Ll0VvwAOAzbHbRrfJR3dve5Ocv2k0g8\nik0nl3Jlgqi1cBmwhm3DqywSdipltk2jv6RN8CdQvhkNf+rQ9fiMLcgMuSw8\nr9Q3mXkSZl+ZbgqE36pE9D6KP7q8nvavHqh3eWd57ttaxQjIGTw7+6p3aYBB\nZBfI6P+RTg5AIEj71CQVtpRsQVqM8k4zDjjEaKLU6Lk/grlNmgZxEr6+SbAr\nVW8gqPtFNbZ0fmtcBi5T5GQWhz4Unzd1m1oSk9AOrApMbqJCcxrG2U89YAZN\noGzDPoVsgc8PqgQ5uw8zKpRKAZ9Y5WhMIBSZh20+M4ieCFrUKdNEDhRg6weM\nEGHczr+GGk7gRQK7gca0m+fchcAOw1sRug6PjOtVjC/WKDnZmWPuN8xDZwSD\nPR5p\r\n=Asze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIaYR5g0dhQ/GlWBPR615+8iTJs5aX0iElBMFT8EVA9AiEAryHpNQYYb9iY3d4Pi7vpnL/nwaa285iutF3jHlndHDY="}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.3.0_1629924052605_0.620973162650315"},"_hasShrinkwrap":false},"1.4.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.4.0","description":"A doubly linked list library for js.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rimraf ./dist","prepare":"yarn clean && yarn build"},"repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","licenseText":"MIT License\n\nCopyright (c) Aiden Hadisi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@aidenhadisi/doublylinkedlist@1.4.0","dist":{"shasum":"734e3d29eaf44d175eb0e598b51642f2019d658d","integrity":"sha512-Hezn2Jdttp5mX4Xev8mznCh30aZoPf4PPvG6908ZCpRFVtILjfotFJ77iOKj/eRZ0JtSt+kVF9SqWhCfPzgAPg==","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.4.0.tgz","fileCount":9,"unpackedSize":8063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJqutCRA9TVsSAnZWagAAL/kQAJlrBAaqQV1l/1Dc6ehH\nT5FdNR0Ls3QhuQQR6TDE+TvryeT6HX6KVcUxS2LHpDwr06Pai0YdN7NG1SGS\nwknzVQdW3ezyWnavhynCCQSEPoqtgRVtxuSgmuVIKDVpp9oUkKbdhnB7Zqw8\n7YGiEjg+3RHY2ICkMQdY7gyh86OQ3x7bNEWQ/iwdrIrneVYXvhTlcf00N082\neEIIyt6er5lG9zfUjWy2qEs+NNSDxldJCpmMmHNIhRst+9/qv0JUuZ3zrFiK\nAiKjd0og9KFTRue7YGKA7++mEbXEWihOR/CNI1EJ6WWWghpP1kjG8jx2sqk5\nRQYccLDOpVDoDgc5eBmsgLJHswZeYk9bZRXTT4ahPbBWm23tDRESoBaRa7R0\nPJ6xBKzPDOdKYiWLFaLwmfhfBbjbQU6pt6DTVacDsmaWF7GDyDxjcQ3yzmOz\n0HUHeye+tiyYTtbLe819+hLiKwLy1p2Bi8sSbaAn8x8PiciT8hwvyshreyUk\nGGZWk2tM+LJe14pbHRfcIyi064yQuD4nAlIbfk6w01aDqMOLVXKDRfojrcKV\nupaDCx2mdHIBLPweeA9a9Zjtzc/jYxF/rupJVF4NYBjwpCBYADMvjC7IW8wQ\nEjMCB2GuBXmjfX5Di4apV3JV4McG6IAL1fKho7AstnX5TLFG3JUOhc+8E/Eu\nqQcZ\r\n=WkN2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGSbVi9eriqwLV2J+9TTpzghMARhk+rNpC5UfkhMhOuuAiEA+E2IEO4UXrbO3WhviOD570KVGzWxOP8GqzOyqNUqdEU="}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.4.0_1629924269182_0.610589377531328"},"_hasShrinkwrap":false},"1.5.0":{"name":"@aidenhadisi/doublylinkedlist","version":"1.5.0","description":"A doubly linked list library for js.","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rimraf ./dist","prepare":"yarn clean && yarn build"},"repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"keywords":["linkedlist","list","doubly"],"author":{"name":"Aiden Hadisi"},"license":"MIT","bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","licenseText":"MIT License\n\nCopyright (c) Aiden Hadisi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@aidenhadisi/doublylinkedlist@1.5.0","dist":{"shasum":"2c6487d9d39485cf57e76dd04b0344f4ec6ae9ee","integrity":"sha512-lMhBTw50x3vn48qAFOal2PFZe1hw7N5yGxMXSIr9P/P9St6aT6GpZgSZNPH3AJo3hoXXAcQZnKX8N16e7iaQZQ==","tarball":"https://registry.npmjs.org/@aidenhadisi/doublylinkedlist/-/doublylinkedlist-1.5.0.tgz","fileCount":9,"unpackedSize":8059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJzbMCRA9TVsSAnZWagAAGycP/iRHFiiwUGx5XmvdbyPl\n6qH/FGiJetKWPQfuEVTHhf5IaK5kTTRkp3nXlvZgDQySImtY8THPbFTMpP8m\n0oCx36E0EjsPpak4Th3RQAVpbiRdwniKYeaiCKGI+vm8OtL7rvgVd/p5UCDr\nf/KMrN3dKj7HEdh4jwmfl9zeg9Ac1C++uTQWiAwoaIBt6fp5i8TBj6IoTjm2\nTSTGW1GfLUwKC2YhLtJtd3SAD1Cec7c0KVkAMydIpG3NsN+Fjns42wDmBuX8\nPfMzfILW8iUnnIY2CPcJP74lO7clQ7/bpTAIukNT7uWnwV84bNaurLsXxt+3\nvXpNyVt+4rQXA+xqTxrHYIOAmISVRKUsP2KivFAmX6cvjl/UCHY/+4gWbg0Z\nEevv8VWHXn0i1YLiOT+/n/Tgu1dEg3yvhXBanz+Q98Wa6owF7VNvNPgOOXGa\n2MlXWnuEMCb8Ew2woEDPK+CR7kvmNp47qG7NI/HbhHd94LuMOq4CNyFkfe+H\nrMpVgGQzl8R/Y6PnwI276iJEacasSfDO4FlGPbO92j+oYc5Q+p6YmexAoQQv\n2CQS2Ti3ZZAUfA9VyjuJzqaJBjMm27VxFEgdPR3SOTuvMkG62CbLLvMg03M3\nW7rYD2bmZf+h1GoFyKzwGGggYWoC8jjKWicozZ6oUjJhK8a5vK73E2sSdHru\nVdGz\r\n=Nagr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDP/AhXJwSJehDb6b/lkKjB1rF5ZWTpidqu2l2ZVm8K4gIfO7pkKWuIsmRo3FptZtdzb4yr1B3AvCvUAn1nK/b3IQ=="}]},"_npmUser":{"name":"aidenhadisi","email":"so.hadisi@gmail.com"},"directories":{},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/doublylinkedlist_1.5.0_1629959884147_0.6958224147709198"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-22T02:42:27.896Z","1.0.0":"2021-08-22T02:42:28.086Z","modified":"2022-04-04T12:16:39.660Z","1.1.0":"2021-08-22T05:39:18.697Z","1.2.0":"2021-08-25T20:09:30.668Z","1.3.0":"2021-08-25T20:40:52.720Z","1.4.0":"2021-08-25T20:44:29.335Z","1.5.0":"2021-08-26T06:38:04.292Z"},"maintainers":[{"name":"aidenhadisi","email":"so.hadisi@gmail.com"}],"description":"A doubly linked list library for js.","homepage":"https://github.com/AidenHadisi/DoublyLinkedList#readme","keywords":["linkedlist","list","doubly"],"repository":{"type":"git","url":"git+https://github.com/AidenHadisi/DoublyLinkedList.git"},"author":{"name":"Aiden Hadisi"},"bugs":{"url":"https://github.com/AidenHadisi/DoublyLinkedList/issues"},"license":"MIT","readme":"## DoublyLinkedList\n\n> A lightweight doubly linked list library for JavaScript.\n\nA Doubly Linked List library that allows insertion and deletion both at the end and the front of the list in constant time complexity. The library also provides pointers to both front and end of the list which allows easy traversal in either direction.\n\n## Install\n\n```\n$ npm install @aidenhadisi/doublylinkedlist\n```\n\nOr using **yarn**\n\n```\n$ yarn add @aidenhadisi/doublylinkedlist\n```\n\n## Usage\n\n### Adding Elements\n\n```js\nimport LinkedList from \"@aidenhadisi/doublylinkedlist\";\n\n//Specify data type you want to store in the list, for example number:\nlet list = new LinkedList<number>();\n\n//Add an element to the end of the list\nlist.push(3)\n\n//Add an element to the front of the list\nlist.unshift(5)\n\n//Prints 2\nconsole.log(list.length)\n```\n\n### Removing Elements\n\n```js\n//Remove an element from the end of the list\nlet element = list.pop();\n\n//Remove an element from the front of the list\nlet element = list.shift();\n```\n\n### Accessing Data\n\n```js\nlet element = list.pop();\n\n// Value stored in the node\nelement.val;\n\n// A pointer to the next element\nelement.next;\n\n// A pointer to the previous element\nelement.prev;\n```\n\n### Traversal\n\nTraverse the list from the front:\n\n```js\nlet head = list.head;\n\nwhile (head !== null) {\n\tconsole.log(head.val);\n\thead = head.next;\n}\n```\n\nTraverse the list from the end:\n\n```js\nlet tail = list.tail;\n\nwhile (tail !== null) {\n\tconsole.log(tail.val);\n\ttail = tail.prev;\n}\n```\n\n### Length\n\nYou can get the size of the list at any point using the `.length` getter. This property is stored and not computed; therefore, it has a constant time complexity.\n\n```js\n//Get the size of the list\nconsole.log(list.length);\n```\n\n### toArray()\n\nYou can get a copy of the linkedlist in array format by calling the `toArray()` method. Note that time complexity of this method is O(n) as it needs to traverse through entire list.\n\n```js\nlet array = list.toArray();\n```\n","readmeFilename":"README.md"}