Coder Social home page Coder Social logo

kylefox / jquery-tablesort Goto Github PK

View Code? Open in Web Editor NEW
264.0 17.0 98.0 94 KB

A tiny & dead-simple jQuery plugin for sortable tables.

Home Page: http://dl.dropbox.com/u/780754/tablesort/index.html

License: Other

JavaScript 40.99% HTML 59.01%
jquery sort jquery-plugin javascript tablesorter

jquery-tablesort's Introduction

A tiny & dead-simple jQuery plugin for sortable tables. Here's a basic demo.

Maintainers Wanted

I don't use this library much anymore and don't have time to maintain it solo.

If you are interested in helping me maintain this library, please let me know! Read more here ยป

Your help would be greatly appreciated!

Install

Just add jQuery & the tablesort plugin to your page:

<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="jquery.tablesort.js"></script>

(The plugin is also compatible with Zepto.js).

It's also available via npm

npm install jquery-tablesort

and bower

bower install jquery-tablesort

Basic use

Call the appropriate method on the table you want to make sortable:

$('table').tablesort();

The table will be sorted when the column headers are clicked.

To prevent a column from being sortable, just add the no-sort class:

<th class="no-sort">Photo</th>

Your table should follow this general format:

Note: If you have access to the table markup, it's better to wrap your table rows in <thead> and <tbody> elements (see below), resulting in a slightly faster sort.

If you can't use <thead>, the plugin will fall back by sorting all <tr> rows that contain a <td> element using jQuery's .has() method (ie, the header row, containing <th> elements, will remain at the top where it belongs).

<table>
	<thead>
		<tr>
			<th></th>
			...
		</tr>
	</thead>
	<tbody>
		<tr>
			<td></td>
			...
		</tr>
	</tbody>
</table>

If you want some imageless arrows to indicate the sort, just add this to your CSS:

th.sorted.ascending:after {
	content: "  \2191";
}

th.sorted.descending:after {
	content: " \2193";
}

How cells are sorted

At the moment cells are naively sorted using string comparison. By default, the <td>'s text is used, but you can easily override that by adding a data-sort-value attribute to the cell. For example to sort by a date while keeping the cell contents human-friendly, just add the timestamp as the data-sort-value:

<td data-sort-value="1331110651437">March 7, 2012</td>

This allows you to sort your cells using your own criteria without having to write a custom sort function. It also keeps the plugin lightweight by not having to guess & parse dates.

Defining custom sort functions

If you have special requirements (or don't want to clutter your markup like the above example) you can easily hook in your own function that determines the sort value for a given cell.

Custom sort functions are attached to <th> elements using data() and are used to determine the sort value for all cells in that column:

// Sort by dates in YYYY-MM-DD format
$('thead th.date').data('sortBy', function(th, td, tablesort) {
	return new Date(td.text());
});

// Sort hex values, ie: "FF0066":
$('thead th.hex').data('sortBy', function(th, td, tablesort) {
	return parseInt(td.text(), 16);
});

// Sort by an arbitrary object, ie: a Backbone model:
$('thead th.personID').data('sortBy', function(th, td, tablesort) {
	return App.People.get(td.text());
});

Sort functions are passed three parameters:

  • the <th> being sorted on
  • the <td> for which the current sort value is required
  • the tablesort instance

Custom comparison functions

If you need to implement more advanced sorting logic, you can specify a comparison function with the compare setting. The function works the same way as the compareFunction accepted by Array.prototype.sort():

function compare(a, b) {
  if (a < b) {
    return -1;		// `a` is less than `b` by some ordering criterion
  }
  if (a > b) {
    return 1;			// `a` is greater than `b` by the ordering criterion
  }

  return 0;				// `a` is equal to `b`
}

Events

The following events are triggered on the <table> element being sorted, 'tablesort:start' and 'tablesort:complete'. The event and tablesort instance are passed as parameters:

$('table').on('tablesort:start', function(event, tablesort) {
	console.log("Starting the sort...");
});

$('table').on('tablesort:complete', function(event, tablesort) {
	console.log("Sort finished!");
});

tablesort instances

A table's tablesort instance can be retrieved by querying the data object:

$('table').tablesort(); 												// Make the table sortable.
var tablesort = $('table').data('tablesort'); 	// Get a reference to it's tablesort instance

Properties:

tablesort.$table 			// The <table> being sorted.
tablesort.$th					// The <th> currently sorted by (null if unsorted).
tablesort.index				// The column index of tablesort.$th (or null).
tablesort.direction		// The direction of the current sort, either 'asc' or 'desc' (or null if unsorted).
tablesort.settings		// Settings for this instance (see below).

Methods:

// Sorts by the specified column and, optionally, direction ('asc' or 'desc').
// If direction is omitted, the reverse of the current direction is used.
tablesort.sort(th, direction);

tablesort.destroy();

Default Sorting

It's possible to apply a default sort on page load using the .sort() method described above. Simply grab the tablesort instance and call .sort(), padding in the <th> element you want to sort by.

Assuming your markup is <table class="sortable"> and the column to sort by default is <th class="default-sort"> you would write:

$(function() {
    $('table.sortable').tablesort().data('tablesort').sort($("th.default-sort"));
});

Settings

Here are the supported options and their default values:

$.tablesort.defaults = {
	debug: $.tablesort.DEBUG,		// Outputs some basic debug info when true.
	asc: 'sorted ascending',		// CSS classes added to `<th>` elements on sort.
	desc: 'sorted descending',
	compare: function(a, b) {		// Function used to compare values when sorting.
		if (a > b) {
			return 1;
		} else if (a < b) {
			return -1;
		} else {
			return 0;
		}
	}
};

You can also change the global debug value which overrides the instance's settings:

$.tablesort.DEBUG = false;

Alternatives

I don't use this plugin much any more โ€” most of the fixes & improvements are provided by contributors.

If this plugin isn't meeting your needs and you don't want to submit a pull-request, here are some alternative table-sorting plugins.

(Feel free to suggest more by opening a new issue)

Contributing

As always, all suggestions, bug reports/fixes, and improvements are welcome.

Minify JavaScript with Closure Compiler (default options)

Help with any of the following is particularly appreciated:

  • Performance improvements
  • Making the code as concise/efficient as possible
  • Browser compatibility

Please fork and send pull requests, or report an issue.

License

jQuery tablesort is distributed under the MIT License. Learn more at http://opensource.org/licenses/mit-license.php

Copyright (c) 2012 Kyle Fox

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

jquery-tablesort's People

Contributors

elidupuis avatar jasonrhodes avatar jsmecham avatar kelesi avatar kerro avatar kylefox avatar mariusconjeaud avatar philigan906 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-tablesort's Issues

Wrong index when th's containing other elements

Hello,

I'm using the tablesorter together with ember, which creates alot of script elements for its metamorphing feature. This causes the tablesorter to calculate the wrong index for th's.
Fortunately, the fix is pretty simple.

I just changed line 31 from

cells = table.find('tr td:nth-of-type(' + (th.index() + 1) + ')'),

to

cells = table.find('tr td:nth-of-type(' + (th.index('th') + 1) + ')'),

Jquery now returns the index based on a filtered type, so only th's are counted.

Custom sorting functions: IP Address

I have been trying to make a function for sorting ip adresses as tablesort is sorting them alphabetically. I used following sort function:

$('thead th.IP Address').data('myIpArray')
myIpArray='myIpArray'
myIpArray.sort(function(a,b){ // sort IP address.
aa = getIP(a).split(".");
bb = getIP(b).split(".");

for (var i=0, n=Math.max(aa.length, bb.length); i<n; i++) {
    if (aa[i] !== bb[i]) return aa[i] - bb[i];
}

return 0;

});

The function still does not sort ip addresses. Anyone got an idea how to make sort work?

&#8203; being injected into my data-sort-value

Clicking on column once shows correct order, but injects &#8203; in front of my data-sort-value attribute strings randomly on some td elements, but not all. Therefore further sorting on that column, shows wrong order since it injects &#8203; in front of the actual value.

I am using UTF-8 charset, and not sure what could be causing this. This seems like a bug with the plugin since this only happens when clicking on the sort th elements.

How to specify default sort column and direction

From the readme:

// Sorts by the specified column and, optionally, direction ('asc' or 'desc').
// If direction is omitted, the reverse of the current direction is used.
tablesort.sort(th, direction);

I take this to mean I should be able call tablesort.sort(th, direction) after creating my table in order to have a given th sorted on page load. It's not working however.

I've tried:

  • tablesort.sort(<th-node>, 'asc')
  • tablesort.sort(<id-of-th>, 'asc')
  • Setting the tablesort.$th, tablesort.index, and tablesort.direction

Results in:
Uncaught TypeError: b.index is not a function

Thanks in advance

asc and desc tags flipped unless default settings are manually defined

I'm attempting to sort a single column in descending order when the page loads. I noticed that unless I manually define $.tablesort.defaults, asc and desc in $.tablesort.settings are reversed from what they should be.
Here's what my init code looks like:

$(document).ready(function () {
    $('.ui.table.sortable').tablesort();
    $('#main_table').data('tablesort').sort($('#default_sort'), 'desc');
});

Here's console output that shows the "flip" when you don't set the default values:

var ts = $('#main_table').data('tablesort');
ts = {
   [functions]: ,
   $sortCells: { },
   $table: { },
   $th: null,
   $thead: { },
   __proto__: { },
   direction: "desc",
   index: null,
   settings: {
      [functions]: ,
      __proto__: { },
      asc: "sorted descending",
      debug: true,
      desc: "sorted ascending"
   }
}

Note asc: "sorted descending" and desc: "sorted ascending:".
Now, if I include the following in my <script> tag, asc and desc are set to what they should be:

$.tablesort.defaults = {
    debug: true,
    asc: 'sorted ascending',
    desc: 'sorted descending',
    compare: function (a, b) {
        if (a > b) {
            return 1;
        } else if (a < b) {
            return -1;
        } else {
             return 0;
        }
    }
};

Note that this is a direct copy and paste from the source code (aside from debug).
Additionally, I noticed that changing the values in $.tablesort.defaults in the source file doesn't change $.tablesort.settings like it should. I'm not setting the defaults anywhere else in my code.
I've been trying to figure out what is overwriting the default settings, but for the life of me I can't figure it out.

This might just be me doing something incorrectly, or missing some sort of cached data, but I don't think that's happening.

I'm fine with setting the defaults in my <script> tag as a work-around, but this basic function SHOULD work. No idea why it's not. I'd love for someone to take a look.

Can't sort column of float values?

Here's my code to sort a column of float values. It continues to be sorted as if they're strings though. The table simply has <thead>...<th>amount</th></thead>, no class or id or anything.

Thanks in advance for any insight.

$(document).ready(function() {
    $('table').tablesort()
    $('thead th.amount').data(
        'sortBy', 
        function(th, td, tablesort) {
            return parseFloat(td.text());
        }
    );
})

sort order when clicking on a different column

Hi there,

nice plugin! The sort order should always be ascending (or default one for that column) when clicking on a column which is not the current one. At the moment sort order changes with each click. This should of course only be the case when clicking on the current column. As it is now it's quite confusing ;)

looking for maintainer?

Hi i saw this on https://github.com/pickhardt/maintainers-wanted

I'd be willing to take up maintainership for this project. My company is looking to use this project, I'm a core team member of the popular node-fetch package since the very first besinning and takes care of a number of other popular open source project.
I know a thing or two about open source and making sure it's harmful and well documented and safe

That being said, I have had a fascination of getting things modernized. My motivations are not to prioritize the needs of my company over the needs of the community. Looking through the issues, I think that I could help with answering the questions people have or looking into (and potentially fixing) the problems that are presented.

If it's alright with you then I would like to get full maintainership of npm package and that the github is transfered to my account along with all the issues/PR that comes with it

Just let me know ๐Ÿ‘

default sort on page load ignores direction

A descent sorting on page load seems impossible because of the check for a different column.

The sort function with direction 'desc' still sorts the column in ascending order:
$('table.sortable').tablesort().data('tablesort').sort($("th.default-sort"), 'desc');

Changing the following line fixed that issue for me:
https://github.com/kylefox/jquery-tablesort/blob/master/jquery.tablesort.js#L42

from if (this.index !== th.index()) {
to if (this.index !== null && this.index !== th.index()) {

Inaccurate Sorting Comparison

[tablesort] Sorting by null desc
545 0 1
545 30 1
0 30 -1
70 30 1
40 30 1
580 30 1
30 30 0
550 30 1
530 30 1
25 30 -1
0 30 -1
30 30 0
25 0 1
0 0 0
545 70 -1   <------------- incorrect comparison
545 40 1
40 580 -1
545 580 -1
70 580 1
40 550 -1
545 550 -1
580 550 1
40 530 -1
545 530 1
[tablesort] Sort finished in 33ms

So I am experience a lot of sorting issues. I edited the tablesort to console.log the comparisons and have found that the comparisons are not accurate. There is only one inaccurate calculation here, but I also tested with another set of data and there are more than one.

Data is found using:

console.log(a.value, b.value, self.settings.compare(a.value, b.value))

Comparison function:

compare: function(a, b) {
	if (a > b) {
		return 1;
	} else if (a < b) {
		return -1;
	} else {
		return 0;
	}
}

Also, I am using handlebars... not sure if that affects it. I have tested it without handlebars and still getting wrong output. Codepen: https://codepen.io/anon/pen/aJeJYY

Memorize current sorted column when sorting by click

When clicking on a column to sort, the new sorting column isn't stored in $th.

Example :
tablesort.sort($("th.t1"))

tablesort.$th is now th.t1 element

Then, clicking on th.t2 column to sort

tablesort.$th is still th.t1 element. No update.

Proposed fix :
Store new sorted column element in $th

How to remove sorting "third click"

I like your plugin! Currently just one thing missing. I'd like to have it sort up by first click on row, sort down by second click and "unsorting" by third click. So it reverts to original state.
Maybe you have an better solution to remove sort?

Latest version not in bower

I tried downloading the latest version via bower (version 0.7) but it seems like only version 0.6 is pushed to bower. The bower.json says that version 0.7 is available, can you push it to bower?

fpayer@dev:~/$ bower info jquery-tablesort
bower jquery-tablesort#*        cached https://github.com/kylefox/jquery-tablesort.git#0.0.6
bower jquery-tablesort#*      validate 0.0.6 against https://github.com/kylefox/jquery-tablesort.git#*

{
  name: 'jquery-tablesort',
  version: '0.0.6',
  homepage: 'https://github.com/kylefox/jquery-tablesort',
  authors: [
    'Kyle Fox <[email protected]>'
  ],
  description: 'A simple, lightweight jQuery plugin for creating sortable tables.',
  main: 'jquery.tablesort.js',
  moduleType: [],
  license: 'MIT',
  ignore: [
    '**/.*',
    'node_modules',
    'bower_components',
    'test',
    'tests'
  ],
  dependencies: {
    jquery: '1.8.0 - 2.1.x'
  }
}

Available versions:
  - 0.0.6
  - 0.0.5

Interested in these fixes?

I've forked this project to fix the following issues:

  1. Fixed issue where sorting was ignoring changes in the data-sort-value attribute value. Basically jQuery caches the data-sort-value so your sort logic was using stale values whenever these values changed.
  2. Fixed issue where sorting for any columns following a TH than spanned multiple columns.

Happy to create a PR if you would like any of these fixes merging in. I've noticed a few stale PRs so didn't want to waste my time creating PRs if they're just going to sit there.

Cheers!

Only sorts on first click

The first time it is triggered it works, subsequent times the ascending and descending classes work, debug reads successfully, but the rows are not actually reordered. I've added explicit sortBy and logged the values being generated to make sure they all are correct, but still no re-rder afer the initial click.

on() is not a function

I kept on getting this error and found a fix by using bind() instead of on(), jquery version 1.4.2
line #14 of jquery.tablesort.js
My local versions was quite old, now using version 3.0.0 via CDN which was released in June of 2016 since on() was not added until version 1.7.0

jquery-tablesort sorts incorrectly

Just started using jquery-tablesort but sadly it sorts incorrectly for the following table. The issue seems to be the use of <th scope="row">1</th> on rows. (html taken directly from the bootstrap 3 docs, so it should be well formed.)

  <table class="table">
    <thead>
      <tr>
        <th>#</th>
        <th>First Name</th>
        <th>Last Name</th>
        <th>Username</th>
      </tr>
    </thead>
    <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Mark</td>
      <td>Otto</td>
      <td>@mdo</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Jacob</td>
      <td>Thornton</td>
      <td>@fat</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <td>Larry</td>
      <td>the Bird</td>
      <td>@twitter</td>
    </tr>
    </tbody>
  </table>

Maintainers wanted!

Hey folks,

I am looking for maintainers to help triage issues and merge pull requests for this repository ๐Ÿ’ฏ

I'm happy this library has gotten so popular ๐ŸŽ‰ but unfortunately I just don't have time to maintain it any longer โ€” especially since I rarely use it myself anymore.

If you're interested in becoming a maintainer, please leave a comment below and let me know. I would really appreciate the help!

pagination

Hi, I wonder if a pagination option could be integrated without making the plugin much larger.
If you think that does't fit into this plugin are there any pagination solutions available that work with this plugin?
There is datatables.net but that's way to much additional not needed functionality (and has it's own sorting).

Reloading on dynamic page updates

I'm refreshing data in a tables via ajax calls, what is the proper way to reinitialize tablesort.

Should I just call .tablesort() each time?

Update bower dependencies

The current bower dependencies are for very old versions of jquery. Would it be possible to update the dependencies to support at least jquery 2.2.x?

Currently sorted column not updated

Currently sorted column [tablesort.$th] is never updated and is always null. This is needed when data in the table are reloaded with ajax and user-selected sorting needs to be reapplied.

Proposed fix:
//click on a different column if (this.index !== th.index()) { this.direction = 'asc'; this.index = th.index(); this.$th = th; }

Disable column

Is there any specific way to disable a column from trying to sort?

I tried this, but I don't think it's working.

$('th.type-null').data('sortBy', function (th, td, sorter) {
return false;
});

License?

Maybe I'm missing it but I'm unclear on how the code is licensed.

Here is non jquery version of the same

For those who are not using jquery here is the same

(function() {
	function tablesort(table, settings) {
		const self = this;
		this.table = table;
		this.thead = this.table.querySelector('thead');
		this.settings = Object.assign({}, tablesort.defaults, settings);
		this.sortCells = this.thead ? this.thead.querySelectorAll('th:not(.no-sort)') : this.table.querySelectorAll('th:not(.no-sort)');
		
		this.sortCells.forEach(function(cell) {
			cell.addEventListener('click', function() {
				self.sort(cell);
			});
		});
		
		this.index = null;
		this.direction = null;
	}

	tablesort.prototype = {
		sort: function(th, direction) {
			const start = new Date(),
				self = this,
				rowsContainer = this.table.querySelector('tbody') || this.table,
				rows = rowsContainer.querySelectorAll('tr'),
				cells = Array.from(rows).map(function(row) {
					return row.querySelectorAll('td, th')[th.cellIndex];
				}),
				sortBy = th.sortBy;
			let sortedMap = [];

			let unsortedValues = cells.map(function(cell) {
				if (sortBy)
					return (typeof sortBy === 'function') ? sortBy(th, cell, self) : sortBy;
				return (cell.dataset.sortValue != null ? cell.dataset.sortValue : cell.textContent);
			});

			if (unsortedValues.length === 0) return;

			if (this.index !== th.cellIndex) {
				this.direction = 'asc';
				this.index = th.cellIndex;
			} else if (direction !== 'asc' && direction !== 'desc') {
				this.direction = (this.direction === 'asc' ? 'desc' : 'asc');
			} else {
				this.direction = direction;
			}

			direction = (this.direction === 'asc' ? 1 : -1);

			self.table.dispatchEvent(new CustomEvent('tablesort:start', { detail: self }));
			
			self.table.style.display = 'none';

			setTimeout(function() {
				self.sortCells.forEach(function(cell) {
					cell.classList.remove(...self.settings.asc.split(' '), ...self.settings.desc.split(' '));

				});

				sortedMap = unsortedValues.map(function(value, i) {
					return {
						index: i,
						cell: cells[i],
						row: rows[i],
						value: value
					};
				}).sort(function(a, b) {
					return self.settings.compare(a.value, b.value) * direction;
				});

				sortedMap.forEach(function(entry) {
					rowsContainer.appendChild(entry.row);
				});

				th.classList.add(...self.settings[self.direction].split(' '));

				self.log('Sort finished in ' + ((new Date()).getTime() - start.getTime()) + 'ms');
				self.table.dispatchEvent(new CustomEvent('tablesort:complete', { detail: self }));
				self.table.style.display = '';
			}, unsortedValues.length > 2000 ? 200 : 10);
		},

		log: function(msg) {
			if ((tablesort.DEBUG || this.settings.debug) && console && console.log) {
				console.log('[tablesort] ' + msg);
			}
		},

		destroy: function() {
			const self = this;
			this.sortCells.forEach(function(cell) {
				cell.removeEventListener('click', function() {
					self.sort(cell);
				});
			});
			this.table.dtablesort = '';
			return null;
		}
	};

	tablesort.DEBUG = false;

	tablesort.defaults = {
		debug: tablesort.DEBUG,
		asc: 'sorted ascending',
		desc: 'sorted descending',
		compare: function(a, b) {
			if (a > b) {
				return 1;
			} else if (a < b) {
				return -1;
			} else {
				return 0;
			}
		}
	};

	HTMLElement.prototype.tablesort = function(settings) {
		const previous = this.dtablesort;
		if (previous) {
			previous.destroy();
		}
		this.dtablesort = new tablesort(this, settings);
	};

})();

//usage
document.querySelectorAll('table').forEach(function(table) {
	table.tablesort();
});

document.querySelectorAll('thead th.number').forEach(th=>{
	th.sortBy = function(sorter, td) {
		return parseInt(td.textContent, 10);
	};
});

Request to be added to cdnjs distribution platform

cdnjs is a distribution platform for small-ish JavaScript libraries that don't have the budget/traffic to pay for a huge CDN or don't care to. You can request to be added to their CDN by opening an issue on their repo.

I'm using your library in a production application and I'd rather use some else's CDN to host it than to host it locally, both to avoid disk I/O slowdowns and because we're currently using a CDN for every other script and stylesheet we load. I think you benefit from this, so I hope you'll consider it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.