Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
caph1993 committed Mar 19, 2024
1 parent fe3aa5c commit 46226eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions demo-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
<html>

<head>
<title>Numpy JS Demo 2</title>
<title>nDArrayJS Demo 2</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">

<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/dist/plot.umd.min.js"></script>
<script src="dist/caph1993-numpy-js.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ndarray-js@1.0.0/dist/index.js"></script>
<!-- <script src="dist/caph1993-numpy-js.js"></script> -->

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.62.0/codemirror.min.css">
Expand Down Expand Up @@ -61,7 +62,7 @@ <h3>Header:</h3>
(()=>{
$('#codeHeader').text(`
${'<'}script src="https://d3js.org/d3.v7.min.js">${'<'}/script>
${'<'}script src="dist/caph1993-numpy-js.js">${'<'}/script>
${'<'}script src="https://cdn.jsdelivr.net/npm/ndarray-js@1.0.0/dist/index.js">${'<'}/script>
// Or
let d3 = require('d3');
let np = require('caph1993-numpy-js');
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Numpy-js
# ndarray-js

Numpy-js is a reimplementation of numpy for javascript that aims to make the coding experience as similar to numpy as possible.
`ndarray-js` is a reimplementation of `numpy` for javascript that aims to make the coding experience as similar to `numpy` as possible.

It features:

Expand Down Expand Up @@ -68,7 +68,7 @@ Find more details and usage patterns in the [documentation](https://caph1993.git

Numpy-js can be used in:

- web applications: `<script src="https://cdn.jsdelivr.net/npm/ndarray-js@1.0.0/dist/index.js">`
- web applications: `<script src="https://cdn.jsdelivr.net/npm/ndarray-js@1.0.0/dist/index.js"></script>`
- node applications: `npm install ndarray-js`
- jupyter notebooks with ijavascript kernel. [Example](https://github.com/caph1993/numpy-js/blob/main/notebooks/normal-scatter.ipynb).

Expand Down

0 comments on commit 46226eb

Please sign in to comment.