{"id":2174,"date":"2017-10-13T09:04:21","date_gmt":"2017-10-13T14:04:21","guid":{"rendered":"https:\/\/bitpost.com\/news\/?p=2174"},"modified":"2017-10-13T09:19:28","modified_gmt":"2017-10-13T14:19:28","slug":"strive-to-reduce-your-npm-dependencies","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2017\/strive-to-reduce-your-npm-dependencies\/","title":{"rendered":"Strive to reduce your NPM dependencies"},"content":{"rendered":"<p>Five minutes into this javascript exploit video, you&#8217;ll understand why that massive stack of node modules in your app is BAD.\u00a0 Nicely done.<\/p>\n<p><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/0dgmeTy7X3I?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/p>\n<p>And&#8230; 14 minutes in and he hits Moment.js&#8230; which is everywhere&#8230; with a straightforward tough-to-solve regex DDOS hack.<\/p>\n<p>Then mongoose&#8230; then&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Five minutes into this javascript exploit video, you&#8217;ll understand why that massive stack of node modules in your app is BAD.\u00a0 Nicely done. And&#8230; 14 minutes in and he hits Moment.js&#8230; which is everywhere&#8230; with a straightforward tough-to-solve regex DDOS hack. Then mongoose&#8230; then&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[216,237],"tags":[],"class_list":["post-2174","post","type-post","status-publish","format-standard","hentry","category-node-js","category-rad-scripts"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-z4","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=2174"}],"version-history":[{"count":4,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2174\/revisions"}],"predecessor-version":[{"id":2178,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2174\/revisions\/2178"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=2174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=2174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=2174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}