Web programmers most of the most practical resources

Source: Internet
Author: User
Tags regular expression require

Hi, I've seen several tools/frameworks/events that are very useful to web programmers recently, so let's take a look at these great resources.

Bitcore

The Great JS Library, fully supports the creation of a bit-currency application of the necessary functionality.

Verify Bitcoin address:

    1. var Bitcore = require (' Bitcore ');
    2. var address = Bitcore. address;
    3. var addr = new Address ("1a1zp1ep5qgefi2dmptftl5slmv7divfna");
    4. Console.log (Addr.isvalid ());
Copy Code


Sift.js

The MongoDB inspired array filtering. The supported operators are: $in, $nin, $exists, $gte, $gt, $lte, $lt, $eq, $neq, $mod, $all, $and, $or,
$type, $regex; regular expression search; function filtering; small (compressed to 2Kb size).

    1. var sift = require (' sift ');
    2.  
    3. //intersecting Arrays
    4.  
    5. var sifted = Sift ({$in: [' Hello ', ' World ']}, [' Hello ', ' sifted ', ' array! ']);//[' Hello ']
    6.  
    7. //regexp Filter
    8.  
    9. var sifted = sift (/^j/, [' Craig ', ' John ', ' Jake ']);//[' John ', ' Jake ']
    10.  
    11.  
    12. //a *sifter* is returned if the second parameter is omitted
    13.  
    14. var siftpeople = Sift ({
    15.  
    16.  
    17.  
    18.    //you can also Filter against functions
    19.  
    20.     Name:function (value) {
    21.  
    22. & nbsp       return Value.length = = 5;
    23.  
    24.    }
    25.  
    26. });
    27.  
    28.  
    29. //filtered: [{name: ' Craig '}]
    30.  
    31. Siftpeople ([{
    32.  .
    33.     Name: ' Craig ',
    34.  
    35. },
    36.  
    37. {
    38.  
    39.     Name: ' John '
    40.  
    41.  
    42. {
    43.  
    44.     Name: ' Jake '
    45.  
    46. }] );
    47.  
    48.  
    49. //you can test *single values* against your custom sifter
    50.  
    51. siftpeople.test ({name: ' Sarah '});//true
    52.  
    53. siftpeople.test ({name: ' Tim '});//false
Copy Code

Btapp.js

Btapp is a backbone library that provides easy access to the Torque/bittorrent/utorrent customer approach. Now the magnetic links, torrent URLs, and even just the hash of information are all the things you need to download to the user's computer.

Obelisk.js

Obelisk.js is a very cool JS library, which is essentially a JavaScript engine for creating raster objects.

Unfortunately, some demos only work on browsers that support WebKit, which is a stain on the whole, and there are occasional projects that ignore the Firefox browser. Using obelisk has done a very good chrome plugin---isometric contributions, it can change the way you are GitHub statistics.

Holder.js

Holder.js is an elegant solution that embeds images of any size.

Copy Code


Winjs

The project is actively involved with the WINJS development team, which is open to Microsoft, and is working with the open source developer community. We work together to create the best possible solution for HTML/JS/CSS application development. Winjs is a set of JavaScript toolkits that allow developers to create applications using HTML/JS/CSS.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.