HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
chernikovalexey
Prevel
JavaScript2011–2011
chernikovalexey / Prevel

Prevel

Lightweight (5 Kb) all-purpose development tool (DOM, Ajax, etc).

2Distinct people
2Mentions
0Explicit recommenders
42GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Lightweight (5 Kb) all-purpose development tool (DOM, Ajax, etc).

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2011-09-15 20:53:06 UTC to 2011-09-15 21:23:46 UTC.

012011-09-15 20:00:00 UTC to 2011-09-15 21:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 15, 20:002011-09-15 21:00:00 UTC to 2011-09-15 22:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 15, 21:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 15, 20:002011-09-15 20:00:00 UTC2011-09-15 21:00:00 UTC110
Sep 15, 21:002011-09-15 21:00:00 UTC2011-09-15 22:00:00 UTC101

What Hacker News says

2 sources

Prevel Framework (JS). Convenience in 5 Kb

This is a lightweight all-purpose JavaScript framework. Its functionality designated on all the aspects of modern developing. Moreover, it’s extremely fast (particularly interactions with the DOM). All the popular methods from popular frameworks (interactions with the DOM, Ajax and so on) also attend in Prevel but without “ballast”, because, basically, using heavy frameworks consists of using searching through the DOM and creating Ajax requests. Including a framework which size is 90 Kb on a page which entire size (without a framework) is 20 Kb is a bad tone. But when writing in pure JavaScript arise a few inconveniences connected with that in JavaScript there are no habitual functions such as “$()” or “$.ajax()” and so on; Prevel called to root this problem as an essence by having a clear API and by rapid speed of work. Perhaps you will
Read the rest
say that 200 Kb is not a problem nowadays, but there are still lots of people who don’t use the broadband Internet connection. Furthermore, Prevel is quite faster than newfangled frameworks such as jQuery, Mootools, Prototype, etc. Today, in a milestone of interactivity, speed is incredibly important. In addition, you can make Prevel smaller; to do this it’s necessary just to assemble it from modules independently. ================= Examples of usage Probably you’ll like it after watching on a few examples (not all the functionality). Ajax: Ajax attends almost in every application, Prevel simplifies a process of creating requests. Structure of creating queries is like its in jQuery (object with url, type, ...). More detailed instructions are available in documentation. pl.ajax({ url: ‘prevelAjaxTest.py’, type: ‘GET’, success: function(data) { alert(‘Okay.’); } }); DOM: Function for interacting with the DOM widely respesented in Prevel; it’s possible to find more examples in documentation. Following code makes all the DIVs half-transparent. pl(‘div’).css({ opacity: 0.5 }); Common: This methods are available from the `pl` namespace. Defining the type of an object. pl.type(Lorem.’) === ‘str’ pl.type([]) === ‘arr’ pl.type({}) === ‘obj’ pl.type(new Date()) === ‘date’ pl.type(/abc/g) === ‘regexp’ Defining a browser name. Supported browsers: chrome, opera, firefox, ie, ie6, ie7, ie8, safari, safari_khtml. pl.browser(); // Name of current browser If you suddenly liked Prevel Framework, you could read documentation. By the way, it’s necessary to emphasise one pleasant particularity: call chains supported (e.g. pl(‘div’).after(‘...’).before(‘...’)). On GitHub: https://github.com/chernikovalexey/Prevel
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.