bus-mj 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bus.js +6 -6
- package/src/stop.js +4 -0
package/package.json
CHANGED
package/src/bus.js
CHANGED
|
@@ -3,7 +3,7 @@ const datao = [
|
|
|
3
3
|
"id": 3,
|
|
4
4
|
"name": "ligne 3",
|
|
5
5
|
"trajet": ["belobaka", "sotema", "mahabibo", "androva"],
|
|
6
|
-
"stop": ["belobaka", "star", "plaque 7", "loterana", "bazary kely", "csb", "croisement cimetiere", "jovena", "lalatapaka", "plaque", "miaramila", "bazary antanimasaja", "pompy", "bizo", "galana", "manjarisoa", "jardin
|
|
6
|
+
"stop": ["belobaka", "star", "plaque 7", "loterana", "bazary kely", "csb", "croisement cimetiere", "jovena", "lalatapaka", "plaque", "miaramila", "bazary antanimasaja", "pompy", "bizo", "galana", "manjarisoa", "jardin caylah", "bain douche", "photo sport", "hôtel de ville", "croix rouge", "poste", "bognet", "tribunal", "bfv", "androva"],
|
|
7
7
|
"plaque": "",
|
|
8
8
|
"color": "jaune",
|
|
9
9
|
"bande": "bleu"
|
|
@@ -21,7 +21,7 @@ const datao = [
|
|
|
21
21
|
"id": 70,
|
|
22
22
|
"name": "ligne 7",
|
|
23
23
|
"trajet": ["belobaka", "sotema", "mahabibo", "tsaramandroso", "mahavoky atsimo", "la corniche", "majunga be", "mahabibo", "sotema", "belobaka"],
|
|
24
|
-
"stop": ["bain douche", "patel", "maki-loc", "tsaralaza", "pont blanc", "maman'i phillipine", "rond point cité", "rond point taxi", "croisement soatata", "secaline", "bar rotsaka", "croisement bloc", "pharmacie", "hopital manarapenitra", "caserne", "barea", "airtel", "solima", "lycée technique", "élevage", "roche rouge", "maison verte", "jardin d'amour", "nandrasana", "cnaps", "bord", "akbar", "kakal", "boa", "
|
|
24
|
+
"stop": ["bain douche", "patel", "maki-loc", "tsaralaza", "pont blanc", "maman'i phillipine", "rond point cité", "rond point taxi", "croisement soatata", "secaline", "bar rotsaka", "croisement bloc", "pharmacie", "hopital manarapenitra", "caserne", "barea", "airtel", "solima", "lycée technique", "élevage", "roche rouge", "maison verte", "jardin d'amour", "nandrasana", "cnaps", "bord", "akbar", "kakal", "boa", "bazary be", "score", "poste", "croix rouge", "hôtel de ville", "mahabibo", "galax", "jardin caylah", "manjarisoa", "galana", "bizo", "pompy", "bazary antanimasaja", "miaramila", "plaque", "lalatapaka", "jovena", "croisement cimetiere", "csb", "bazary kely", "loterana", "plaque 7", "star", "belobaka"],
|
|
25
25
|
"plaque": "bleu",
|
|
26
26
|
"color": "jaune",
|
|
27
27
|
"bande": "bleu et rouge"
|
|
@@ -30,7 +30,7 @@ const datao = [
|
|
|
30
30
|
"id": 71,
|
|
31
31
|
"name": "ligne 7",
|
|
32
32
|
"trajet": ["belobaka", "sotema", "mahabibo", "majunga be", "la corniche", "mahavoky atsimo", "tsaramandroso", "mahabibo", "sotema", "belobaka"],
|
|
33
|
-
"stop": ["bain douche", "photo sport", "hôtel de ville", "croix rouge", "poste", "score", "
|
|
33
|
+
"stop": ["bain douche", "photo sport", "hôtel de ville", "croix rouge", "poste", "score", "bazary be", "boa", "kakal", "akbar", "bord", "cnaps", "nandrasana", "jardin d'amour", "maison verte", "roche rouge", "élevage", "lycée technique", "solima", "airtel", "barea", "caserne", "hopital manarapenitra", "pharmacie", "croisement bloc", "bar rotsaka", "secaline", "croisement soatata", "rond point taxi", "rond point cité", "maman'i phillipine", "pont blanc", "tsaralaza", "maki-loc", "bata", "patel", "mahabibo", "bain douche", "jardin caylah", "manjarisoa", "galana", "bizo", "pompy", "bazary antanimasaja", "miaramila", "plaque", "lalatapaka", "jovena", "croisement cimetiere", "csb", "bazary kely", "loterana", "plaque 7", "star", "belobaka"],
|
|
34
34
|
"plaque": "rouge",
|
|
35
35
|
"color": "jaune",
|
|
36
36
|
"bande": "bleu et rouge"
|
|
@@ -39,7 +39,7 @@ const datao = [
|
|
|
39
39
|
"id": 8,
|
|
40
40
|
"name": "ligne 8",
|
|
41
41
|
"trajet": [""],
|
|
42
|
-
"stop": ["raseta", "poteau mainty", "eponge", "mazava huile", "bar nene", "pont blanc", "tsaralaza", "maki-loc", "bata", "patel", "mahabibo", "bain douche", "jardin
|
|
42
|
+
"stop": ["raseta", "poteau mainty", "eponge", "mazava huile", "bar nene", "pont blanc", "tsaralaza", "maki-loc", "bata", "patel", "mahabibo", "bain douche", "jardin caylah", "manjarisoa", "galana", "bizo", "pompy", "bazary antanimasaja", "miaramila", "plaque", "lalatapaka", "jovena", "croisement cimetiere", "..."],
|
|
43
43
|
"plaque": "",
|
|
44
44
|
"color": "blanc",
|
|
45
45
|
"bande": "rouge"
|
|
@@ -48,7 +48,7 @@ const datao = [
|
|
|
48
48
|
"id": 11,
|
|
49
49
|
"name": "ligne 11",
|
|
50
50
|
"trajet": [""],
|
|
51
|
-
"stop": [""],
|
|
51
|
+
"stop": ["université ambondrona", "alexia", "masera", "mangabe (tsararano)", "vim", "be fleur", "esige", "bazary antanimasaja", "pompy mahatsinjo", "biso", "atafa", "galana", "manjarisoa", "jardin cayla", "bain douche", "police mahabibo", "jentilal (concoorde)", "patel (5 etage)", "makiloc", "maternite (csb avy aty ambony)", "bois sacrÉ", "gymnase", "poste ( don bosco)", "bonet", "tribunal", "bfv", "bord (finance)", "cnaps taloha", "jardin damour", "maison vert", "boina beach(caveau,elevage)", "lycee technique (terrain)", "terminus"],
|
|
52
52
|
"plaque": "",
|
|
53
53
|
"color": "blanc",
|
|
54
54
|
"bande": "vert"
|
|
@@ -57,7 +57,7 @@ const datao = [
|
|
|
57
57
|
"id": 15,
|
|
58
58
|
"name": "ligne 15",
|
|
59
59
|
"trajet": [""],
|
|
60
|
-
"stop": ["
|
|
60
|
+
"stop": ["antanimalandy", "plaque", "mangabe (antanimalandy)", "fokotany", "arabo", "bazary kely", "vavahady", "croisement cimetière", "jovena", "lalatapaka", "plaque", "miaramila", "bazary antanimasaja", "pompy", "bizo", "antafa", "galana", "manjarisoa", "jardin cayla", "bain douche", "police", "jentilal", "patel", "makiloc", "tsaralaza", "bar néné", "jirama", "mazava huile", "eponge", "poto mainty", "raseta", "croisement amborovy", "csb", "epp manarapenitra", "petite plage", "belinta", "grand pavois"],
|
|
61
61
|
"plaque": "",
|
|
62
62
|
"color": "jaune",
|
|
63
63
|
"bande": "vert"
|
package/src/stop.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
const { read_contenu } = require('./read_contenu.js')
|
|
2
2
|
|
|
3
3
|
// declarer un fonction asyncromme pour avoir tous les listes des arrets
|
|
4
|
+
/**
|
|
5
|
+
* declarer un fonction asyncromme pour avoir tous les listes des arrets
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
4
8
|
async function getAllStop() {
|
|
5
9
|
|
|
6
10
|
// assigner a un variable les contenus du function read_contenu()
|