Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
almanac
Advanced tools
Readme
In early development
HTML5 calendar element
Link almanaque.js
from your html file
<script src="path/to/almanaque.js"></script>
or require it with Browserify:
var Almanac = require('path/to/almanac')
Create an almanac in/at target
with passed options.
Parameters:
Example:
// get a HTML element
var elem = document.getElementById( 'myCalendar' );
// or create one and insert when you want
// var elem = document.createElement( 'div' );
// elem.setAttribute( 'name', 'myCalendarName')
// then create a calendar
var calendar = almanac.createCalendar( elem, {
multi: true,
showMonths: 2
});
options
:name
: Sets name
as input namemulti
: Sets single (input[type="radio"]) or multiple (input[type="checkbox"]) day selection.showMonths
: Months to show in calendar at onceid
: Set id
as almanac element idclasses
: Add classes
to almanac element. Separated by spacesmonthNames
: List of month names. English names by defaultfirstDay
: A day from first month to show in almanactitle
: title for header calendarnoHeader
: Don't show almanac headerbinding
: function to launch when day is clicked. Signature: checked (bool), day data (object)start
: first enabled day (format: YYYYMMDD)end
: last enabled day (format: YYYYMMDD)To run tests (mocha & chai):
npm install && npm test
© 2014 jacoborus
Released under MIT License
FAQs
HTML5 calendar element. Not ready for production.
The npm package almanac receives a total of 2 weekly downloads. As such, almanac popularity was classified as not popular.
We found that almanac demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.