<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JavaScript &#8211; Techawaken</title>
	<atom:link href="https://www.techawaken.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.techawaken.com</link>
	<description>Techawaken shares articles and experience in PHP, MySql, Magento,Joomla, Wordpress, JQuery, Javascript etc.</description>
	<lastBuildDate>Mon, 28 Jun 2021 19:55:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to uninstall npm packages?</title>
		<link>https://www.techawaken.com/uninstall-npm-packages/</link>
				<comments>https://www.techawaken.com/uninstall-npm-packages/#respond</comments>
				<pubDate>Tue, 09 Mar 2021 19:49:00 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[npm]]></category>

		<guid isPermaLink="false">https://www.techawaken.com/?p=867</guid>
				<description><![CDATA[<p>To uninstall a npm package we use the npm uninstall command.</p>

<pre>

npm uninstall [&#60;@scope&#62;/]&#60;package&#62;[@&#60;version&#62;]

</pre>


<p> </p>
<p>To uninstall a globally installed package we need to use the -g or --global option:</p>

<pre>

npm uninstall -g [&#60;@scope&#62;/]&#60;package&#62;[@&#60;version&#62;]

</pre>

<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/install-npm-package-locally-globally/" rel="bookmark" title="Should I install npm package locally or globally?">Should I install npm package locally or globally? </a></li>
<li><a href="https://www.techawaken.com/install-deb-packages-ubuntu/" rel="bookmark" title="How to install .deb packages in Ubuntu?">How to install .deb packages in Ubuntu? </a></li>
<li><a href="https://www.techawaken.com/understanding-installing-node-js-npm/" rel="bookmark" title="Understanding &#038; Installing Node.js and NPM">Understanding &#038; Installing Node.js and NPM </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/uninstall-npm-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>How to find the latest stable npm version and upgrade npm?</title>
		<link>https://www.techawaken.com/find-latest-stable-npm-version-upgrade-npm/</link>
				<comments>https://www.techawaken.com/find-latest-stable-npm-version-upgrade-npm/#respond</comments>
				<pubDate>Tue, 15 Jan 2019 10:18:08 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[npm]]></category>

		<guid isPermaLink="false">https://www.techawaken.com/?p=866</guid>
				<description><![CDATA[<p>In order to find the npm latest stable version, you need to visit the <a href="https://docs.npmjs.com/">npm documentation</a> web page and check the footer.</p>
<p>Earlier it used to mention the version number in footer but now it provides a link to the GitHub hosted repository <a href="https://github.com/npm/cli/releases/latest">https://github.com/npm/cli/releases/latest</a>; so, you can directly check go to this link and check the latest stable npm version available.</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/install-npm-package-locally-globally/" rel="bookmark" title="Should I install npm package locally or globally?">Should I install npm package locally or globally? </a></li>
<li><a href="https://www.techawaken.com/understanding-installing-node-js-npm/" rel="bookmark" title="Understanding &#038; Installing Node.js and NPM">Understanding &#038; Installing Node.js and NPM </a></li>
<li><a href="https://www.techawaken.com/check-server-compatibily-with-magento/" rel="bookmark" title="Check server compatibily with Magento">Check server compatibily with Magento </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/find-latest-stable-npm-version-upgrade-npm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Should I install npm package locally or globally?</title>
		<link>https://www.techawaken.com/install-npm-package-locally-globally/</link>
				<comments>https://www.techawaken.com/install-npm-package-locally-globally/#respond</comments>
				<pubDate>Thu, 10 Jan 2019 01:41:59 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[npm]]></category>

		<guid isPermaLink="false">https://www.techawaken.com/?p=856</guid>
				<description><![CDATA[If I am beginner with npm, then this question will definitely come to my mind. To get an answer to this, you should ask the following questions to yourself:
<ul>
 	<li>How will I use the installed npm package?</li>
 	<li>Will I use it as a dependency in my module or will I use it as a command line tool?</li>
</ul>
&#160;
<h3>Install locally</h3>
&#160;

If you are going to include the package (say "slick-carousel") using statement like "require" in node.js and then use it in your module.

<pre>

npm install &#60;package_name&#62;

</pre>

<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/install-deb-packages-ubuntu/" rel="bookmark" title="How to install .deb packages in Ubuntu?">How to install .deb packages in Ubuntu? </a></li>
<li><a href="https://www.techawaken.com/understanding-installing-node-js-npm/" rel="bookmark" title="Understanding &#038; Installing Node.js and NPM">Understanding &#038; Installing Node.js and NPM </a></li>
<li><a href="https://www.techawaken.com/enable-compilation-magento-command-line-tool/" rel="bookmark" title="How to enable compilation in Magento using the command line tool">How to enable compilation in Magento using the command line tool </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/install-npm-package-locally-globally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>How to use cookies in JavaScript?</title>
		<link>https://www.techawaken.com/javascript-cookies/</link>
				<comments>https://www.techawaken.com/javascript-cookies/#respond</comments>
				<pubDate>Mon, 10 Sep 2018 16:40:33 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Cookies]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">https://www.techawaken.com/?p=850</guid>
				<description><![CDATA[<p>A Cookie is a piece of information that is stored locally on users browser and is sent with each HTTP request to the server. HTTP being a stateless protocol, cookies provide a mechanism by which we can remember user preferences and share information between web pages.</p>
<p>The cookies have a limit of 4KB thus when this limit is reached, you will likely be unable to create a new cookie. To make it more clear, size of all cookies under a specific domain cannot exceed 4KB.</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/" rel="bookmark" title="Preventing a page from being cached in browser">Preventing a page from being cached in browser </a></li>
<li><a href="https://www.techawaken.com/login-admin-entering-correct-username-password/" rel="bookmark" title="Cannot login in admin even after entering the correct username and password">Cannot login in admin even after entering the correct username and password </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/javascript-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Understanding &#038; Installing Node.js and NPM</title>
		<link>https://www.techawaken.com/understanding-installing-node-js-npm/</link>
				<comments>https://www.techawaken.com/understanding-installing-node-js-npm/#respond</comments>
				<pubDate>Tue, 28 Aug 2018 18:22:58 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[npm]]></category>
		<category><![CDATA[nvm]]></category>

		<guid isPermaLink="false">https://www.techawaken.com/?p=837</guid>
				<description><![CDATA[<p>We have been using client side/front end JavaScript to build dynamic pages where we embed the JavaScript code in HTML file, react to events and make AJAX calls for fetching data from the server.</p>
<p>Node.js allows you to write server side and networking applications with JavaScript.</p>
<p>Node.js is an open-source, cross-platform run-time environment that executes JavaScript code server-side. It is build on built on Chrome's V8 JavaScript engine. It uses an asynchronous event-driven model and is designed for writing scalable internet applications, notably web servers.</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/installing-composer-dependency-manager-php-windows/" rel="bookmark" title="Installing &#8220;Composer&#8221; &#8211; Dependency Manager for PHP in Windows">Installing &#8220;Composer&#8221; &#8211; Dependency Manager for PHP in Windows </a></li>
<li><a href="https://www.techawaken.com/installing-magento-with-sample-database/" rel="bookmark" title="Installing Magento with sample database">Installing Magento with sample database </a></li>
<li><a href="https://www.techawaken.com/magento-system-requirements/" rel="bookmark" title="Magento System Requirements">Magento System Requirements </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/understanding-installing-node-js-npm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>JSON &#8211; An Overview</title>
		<link>https://www.techawaken.com/json-overview/</link>
				<comments>https://www.techawaken.com/json-overview/#respond</comments>
				<pubDate>Fri, 08 Jan 2016 10:56:06 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Prototype.js]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=721</guid>
				<description><![CDATA[<p><strong>JSON</strong> stands for <em><strong>JavaScript Object Notation</strong></em>. It is a format for storing and exchanging data. It is based on a subset of the JavaScript Programming Language.<p>
<p>The <strong>file type</strong> for JSON files is "<strong>.json</strong>" and <strong>MIME type</strong> for JSON text is "<strong>application/json</strong>".<p>
<p>
Here are the <em><strong>characteristics</strong> </em>of JSON:
<ol>
	<li>It is a lightweight data-interchange format.</li>
	<li>It is easy for humans to understand.</li>
	<li>It uses Javascript format but it is a text which makes it is completly language independent as text can be read and parsed by any programmng language.</li>
</ol>
</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/limit-number-characters-entered-textarea-input-field/" rel="bookmark" title="How to limit the number of characters that can be entered in a textarea or input field?">How to limit the number of characters that can be entered in a textarea or input field? </a></li>
<li><a href="https://www.techawaken.com/magento-ajax-headers-sent-error-solved/" rel="bookmark" title="Magento &#8211; AJAX &quot;Headers already sent&quot; error solved">Magento &#8211; AJAX &quot;Headers already sent&quot; error solved </a></li>
<li><a href="https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/" rel="bookmark" title="Disabling the form submit on press of ENTER key">Disabling the form submit on press of ENTER key </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/json-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>How to limit the number of characters that can be entered in a textarea or input field?</title>
		<link>https://www.techawaken.com/limit-number-characters-entered-textarea-input-field/</link>
				<comments>https://www.techawaken.com/limit-number-characters-entered-textarea-input-field/#respond</comments>
				<pubDate>Thu, 04 Sep 2014 19:31:31 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Limit Text]]></category>
		<category><![CDATA[Prototype.js]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=625</guid>
				<description><![CDATA[In web pages which take input/feedback from the customers it's a good idea to limit the type and size of data that can be entered so that spam can be avoided.

Let see how we can limit the number of characters that can be entered in a text box.

The simplest approach I follow is to use the jQuery "<a href="http://unwrongest.com/projects/limit/" target="_blank">Limit</a>" plugin. Click here to <a href="http://jquery-limit.googlecode.com/files/jquery.limit-1.2.source.js" target="_blank">download</a> the plugin.<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/add-smooth-page-scroll-top-jquery/" rel="bookmark" title="How to Add Smooth Page Scroll to Top using jQuery">How to Add Smooth Page Scroll to Top using jQuery </a></li>
<li><a href="https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/" rel="bookmark" title="Disabling the form submit on press of ENTER key">Disabling the form submit on press of ENTER key </a></li>
<li><a href="https://www.techawaken.com/add-smooth-scroll-top-effect-wordpress-jquery/" rel="bookmark" title="How to Add a Smooth Scroll to Top Effect in WordPress using jQuery">How to Add a Smooth Scroll to Top Effect in WordPress using jQuery </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/limit-number-characters-entered-textarea-input-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>How to Add Smooth Page Scroll to Top using jQuery</title>
		<link>https://www.techawaken.com/add-smooth-page-scroll-top-jquery/</link>
				<comments>https://www.techawaken.com/add-smooth-page-scroll-top-jquery/#comments</comments>
				<pubDate>Mon, 30 Dec 2013 19:44:00 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Scroll]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=440</guid>
				<description><![CDATA[You would have come across websites that provide an easy way to scroll to the top of the webpage as you move down the page, its really a good idea if the webpage is long and you want to provide a better user experience. In this article, we will show you how to add a smooth scroll to top effect using jQuery.

We will create a button on the footer of the page which when clicked will scroll the page to the top smoothly, we will use css to postion the button at a fixed position on the bottom right of the page and jQuery to provide the scrolling effect and make the button visible only if the page is scrolled down, instead of being always visible.

<strong>Step 1: Add button link</strong>
Place the following code just before the closing &#60;/body&#62; HMTL tag

<pre>
&#60;a href="#" id="scrolltotop" title="Back to top"&#62;Back to top&#60;/a&#62;
</pre>

<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/ie7-issues-with-jquery-removeattr-method/" rel="bookmark" title="IE7 issues with jQuery removeAttr method">IE7 issues with jQuery removeAttr method </a></li>
<li><a href="https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/" rel="bookmark" title="Disabling the form submit on press of ENTER key">Disabling the form submit on press of ENTER key </a></li>
<li><a href="https://www.techawaken.com/magento-serve-css-files-system-file-paths-urls/" rel="bookmark" title="Magento trying serve CSS files using the system file paths instead of URLs">Magento trying serve CSS files using the system file paths instead of URLs </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/add-smooth-page-scroll-top-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>Disabling the form submit on press of ENTER key</title>
		<link>https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/</link>
				<comments>https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/#respond</comments>
				<pubDate>Sun, 27 Jan 2013 19:44:35 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=177</guid>
				<description><![CDATA[At times you would have seen that when you are filling a form on a website and you hit "ENTER" key the form gets submitted. As a developer you may have come across a situation where you would have wanted to prevent this action. The solution to this is to disable the "ENTER" key using javascript. Here's a code snippet that disables "Enter" key in HTML textbox:
<pre>
&#60;script type="text/javascript"&#62;

// &#60;![CDATA[
function disableEnterKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var elem = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) &#38;&#38; (elem.type=='text'))  {return false;}
}

document.onkeypress = disableEnterKey;
// ]]&#62;

&#60;/script&#62;
</pre>

<div class='yarpp-related-rss yarpp-related-none'>

No related posts.
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
