diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..fed4a895 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Gonzalo Diaz + +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. \ No newline at end of file diff --git a/README.md b/README.md index 8dee7fcd..f876a3cc 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,22 @@ Use this answers to learn some tip and tricks for algorithms tests. +# How to use + +Run every problem using Node.js cli as following example: + +``` +node problem00001.js + +``` + +Teste with: + +``` +node --version +v16.0.0 +``` + # Why i publish solutions? As Project Euler says: diff --git a/package.json b/package.json new file mode 100644 index 00000000..05aa7e1b --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "projecteuler.net", + "version": "1.0.0", + "description": "Solutions to the first 100 problems from [Project Euler](https://projecteuler.net/)", + "main": "problem0001.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Gonzalo Diaz ", + "license": "MIT", + "type": "module" +}