npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

place-holder.js

v2.2.4

Published

It is a less than 1 KB(444 bytes) JavaScript file based on jQuery which is used to include placeholder in your input fields.

Downloads

30

Readme

Codacy Badge npm version npm

#place-holder.js

place-holder.js is a less than 1 KB(444 bytes) Javascript file based on Jquery which is used to include placeholder in your input fileds. Don't need to include placeholder manually of every input field just include place-holder.js.

##Getting Started

First include jQuery to your web page. There are several ways to start using jQuery on your web site. You can: Download the jQuery library from jQuery.com Include jQuery from a CDN, like Google, Microsoft

Downloading jQuery The jQuery library is a single JavaScript file, and you reference it with the HTML 'script' tag (notice that the 'script' tag should be outside the 'body' section at the bottom):

<script type="text/javascript" src="jquery-3.0.0.min.js"></script>

After including jQuery you need to include placeholder.js in your web page by downloading this project or clone is project Include place-holder.js after the jquery library

<script type="text/javascript" src="place-holder.min.js"></script>

Note: Place the downloaded file in the same directory as the pages where you wish to use it.

##Install using npm

npm install place-holder.js

##Use unpkg

https://unpkg.com/[email protected]

##Install using bower

bower install place-holder.js

###Information for the place-holder.js

bower info place-holder.js

###Example

	<!DOCTYPE html>
	<html>
		<head>
			<title>Index</title>
		</head>
		<body>
			<form>
				<input type="text" name="name">
				<input type="email" name="email">
				<input  name="mobile">
				<input type="submit">
				<textarea></textarea>
			</form>
		</body>
		<script type="text/javascript" src="jquery-3.0.0.min.js"></script>
			<script type="text/javascript" src="place-holder.min.js"></script>
	</html>

##Contribute

Feel free to contribute

##License

Copyright (c) 2016 Ankit Jain - Released under the MIT License